public abstract class ParseSupport
extends javax.servlet.jsp.tagext.BodyTagSupport
Support for tag handlers for <parse>, the XML parsing tag.
Modifier and Type | Field and Description |
---|---|
private XmlUtil.JstlEntityResolver |
entityResolver |
protected org.xml.sax.XMLFilter |
filter |
private int |
scope |
private int |
scopeDom |
protected java.lang.String |
systemId |
private java.lang.String |
var |
private java.lang.String |
varDom |
protected java.lang.Object |
xml |
Constructor and Description |
---|
ParseSupport() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
private void |
init() |
private org.w3c.dom.Document |
parseInputSource(org.xml.sax.InputSource s)
Parses the given InputSource into a Document.
|
private org.w3c.dom.Document |
parseInputSourceWithFilter(org.xml.sax.InputSource s,
org.xml.sax.XMLFilter f)
Parses the given InputSource after, applying the given XMLFilter.
|
void |
release() |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext) |
void |
setScope(java.lang.String scope) |
void |
setScopeDom(java.lang.String scopeDom) |
void |
setVar(java.lang.String var) |
void |
setVarDom(java.lang.String varDom) |
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
protected java.lang.Object xml
protected java.lang.String systemId
protected org.xml.sax.XMLFilter filter
private java.lang.String var
private java.lang.String varDom
private int scope
private int scopeDom
private XmlUtil.JstlEntityResolver entityResolver
private void init()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
private org.w3c.dom.Document parseInputSourceWithFilter(org.xml.sax.InputSource s, org.xml.sax.XMLFilter f) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
private org.w3c.dom.Document parseInputSource(org.xml.sax.InputSource s) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
setPageContext
in interface javax.servlet.jsp.tagext.Tag
setPageContext
in class javax.servlet.jsp.tagext.TagSupport
public void setVar(java.lang.String var)
public void setVarDom(java.lang.String varDom)
public void setScope(java.lang.String scope)
public void setScopeDom(java.lang.String scopeDom)