public interface ItsNatDocFragmentTemplate extends MarkupTemplate
ItsNatServlet.registerItsNatDocFragmentTemplate(String,String,Object),
ItsNatServlet.getItsNatDocFragmentTemplate(String)| Modifier and Type | Method and Description |
|---|---|
DocumentFragment |
loadDocumentFragment(ItsNatDocument docTarget)
Creates a
org.w3c.dom.DocumentFragment using the markup template. |
DocumentFragment |
loadDocumentFragment(ItsNatDocument docTarget,
ItsNatServletRequest request,
ItsNatServletResponse response)
Creates a
org.w3c.dom.DocumentFragment using the markup template. |
getEncoding, getItsNatServlet, getMIME, getName, getSource, isOnLoadCacheStaticNodes, setEncoding, setOnLoadCacheStaticNodescontainsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValueDocumentFragment loadDocumentFragment(ItsNatDocument docTarget)
org.w3c.dom.DocumentFragment using 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.loadDocumentFragment(org.itsnat.core.ItsNatDocument, org.itsnat.core.ItsNatServletRequest, org.itsnat.core.ItsNatServletResponse),
ItsNatHTMLDocFragmentTemplate.loadDocumentFragmentHead(ItsNatDocument),
ItsNatHTMLDocFragmentTemplate.loadDocumentFragmentBody(ItsNatDocument)DocumentFragment loadDocumentFragment(ItsNatDocument docTarget, ItsNatServletRequest request, ItsNatServletResponse response)
org.w3c.dom.DocumentFragment using the markup template.
This DocumentFragment is ready to
be inserted into the specified org.w3c.dom.Document.
If this template is an (X)HTML fragment the returned markup is
the <body> content. If you want the <head> content use the specific
ItsNatHTMLDocFragmentTemplate method.
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.