public interface ItsNatDocFragmentTemplate extends MarkupTemplate
ItsNatServlet.registerItsNatDocFragmentTemplate(String,String,Object)
,
ItsNatServlet.getItsNatDocFragmentTemplate(String)
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.DocumentFragment |
loadDocumentFragment(ItsNatDocument docTarget)
Creates a
org.w3c.dom.DocumentFragment using the markup template. |
org.w3c.dom.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, setOnLoadCacheStaticNodes
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
org.w3c.dom.DocumentFragment 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)
org.w3c.dom.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 © 2007 Innowhere Software Services S.L. All Rights Reserved.