|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ItsNatHTMLDocFragmentTemplate
Represents an (X)HTML markup fragment template. Concrete fragments are created using this template and can be inserted into documents.
An (X)HTML fragment contains actually two fragments: the <head> content
and the <body> content. The <itsnat:include> element uses the appropriated fragment
automatically, otherwise call the required fragment calling the specific loadDocumentFragmentX
method
| Method Summary | |
|---|---|
org.w3c.dom.DocumentFragment |
loadDocumentFragmentBody(ItsNatDocument docTarget)
Creates a org.w3c.dom.DocumentFragment using the <body>
content of the markup template. |
org.w3c.dom.DocumentFragment |
loadDocumentFragmentBody(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
Creates a org.w3c.dom.DocumentFragment using the <body>
content of the markup template. |
org.w3c.dom.DocumentFragment |
loadDocumentFragmentHead(ItsNatDocument docTarget)
Creates a org.w3c.dom.DocumentFragment using the <head>
content of the markup template. |
org.w3c.dom.DocumentFragment |
loadDocumentFragmentHead(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
Creates a org.w3c.dom.DocumentFragment using the <head>
content of the markup template. |
| Methods inherited from interface org.itsnat.core.tmpl.ItsNatDocFragmentTemplate |
|---|
loadDocumentFragment, loadDocumentFragment |
| Methods inherited from interface org.itsnat.core.tmpl.MarkupTemplate |
|---|
getEncoding, getItsNatServlet, getMIME, getName, getSource, isOnLoadCacheStaticNodes, setEncoding, setOnLoadCacheStaticNodes |
| Methods inherited from interface org.itsnat.core.ItsNatUserData |
|---|
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue |
| Method Detail |
|---|
org.w3c.dom.DocumentFragment loadDocumentFragmentHead(ItsNatDocument docTarget)
org.w3c.dom.DocumentFragment using the <head>
content of the markup template.
This DocumentFragment is ready to
be inserted into the specified org.w3c.dom.Document.
docTarget - the document used to create the fragment.
org.w3c.dom.DocumentFragment loadDocumentFragmentHead(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
org.w3c.dom.DocumentFragment using the <head>
content of the markup template.
This DocumentFragment is ready to
be inserted into the specified org.w3c.dom.Document.
Request and reponse parameters can be null, only are useful when the template
is loaded using a custom TemplateSource
docTarget - the document used to create the fragment.request - current request. Maybe null.response - current response. Maybe null.
org.w3c.dom.DocumentFragment loadDocumentFragmentBody(ItsNatDocument docTarget)
org.w3c.dom.DocumentFragment using the <body>
content of the markup template.
This DocumentFragment is ready to
be inserted into the specified org.w3c.dom.Document.
docTarget - the document used to create the fragment.
org.w3c.dom.DocumentFragment loadDocumentFragmentBody(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
org.w3c.dom.DocumentFragment using the <body>
content of the markup template.
This DocumentFragment is ready to
be inserted into the specified org.w3c.dom.Document.
Request and reponse parameters can be null, only are useful when the template
is loaded using a custom TemplateSource
docTarget - the document used to create the fragment.request - current request. Maybe null.response - current response. Maybe null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||