public interface ItsNatHTMLDocFragmentTemplate extends ItsNatDocFragmentTemplate
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
| Modifier and Type | Method and Description |
|---|---|
DocumentFragment |
loadDocumentFragmentBody(ItsNatDocument docTarget)
Creates a
org.w3c.dom.DocumentFragment using the <body>
content of the markup template. |
DocumentFragment |
loadDocumentFragmentBody(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
Creates a
org.w3c.dom.DocumentFragment using the <body>
content of the markup template. |
DocumentFragment |
loadDocumentFragmentHead(ItsNatDocument docTarget)
Creates a
org.w3c.dom.DocumentFragment using the <head>
content of the markup template. |
DocumentFragment |
loadDocumentFragmentHead(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
Creates a
org.w3c.dom.DocumentFragment using the <head>
content of the markup template. |
loadDocumentFragment, loadDocumentFragmentgetEncoding, getItsNatServlet, getMIME, getName, getSource, isOnLoadCacheStaticNodes, setEncoding, setOnLoadCacheStaticNodescontainsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValueDocumentFragment 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.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.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.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.Copyright © Innowhere Software, Jose Maria Arranz Santamaria.