public abstract class ParseTagSupport extends TagSupport
body, context, parent
Constructor and Description |
---|
ParseTagSupport() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.dom4j.io.SAXReader |
createSAXReader()
Factory method to create a new SAXReader
|
org.dom4j.io.SAXReader |
getSAXReader() |
java.lang.String |
getText()
Returns the text to be parsed
|
java.lang.String |
getVar()
The variable name that will be used for the Document variable created
|
protected org.dom4j.Document |
parse(java.lang.Object source)
Parses the given source
|
protected org.dom4j.Document |
parseBody(XMLOutput output)
Parses the body of this tag and returns the parsed document
|
protected org.dom4j.Document |
parseText(java.lang.String text)
Parses the give piece of text as being markup
|
void |
setSAXReader(org.dom4j.io.SAXReader saxReader)
Sets the SAXReader used for parsing
|
void |
setText(java.lang.String text)
Sets the text to be parsed by this parser
|
void |
setVar(java.lang.String var)
Sets the variable name that will be used for the Document variable created
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public java.lang.String getVar()
public void setVar(java.lang.String var)
public java.lang.String getText()
public void setText(java.lang.String text)
text
- The text to be parsed by this parserpublic org.dom4j.io.SAXReader getSAXReader() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void setSAXReader(org.dom4j.io.SAXReader saxReader)
protected abstract org.dom4j.io.SAXReader createSAXReader() throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected org.dom4j.Document parseBody(XMLOutput output) throws JellyTagException
JellyTagException
protected org.dom4j.Document parseText(java.lang.String text) throws JellyTagException
JellyTagException
protected org.dom4j.Document parse(java.lang.Object source) throws JellyTagException
JellyTagException
Copyright © 2012. All Rights Reserved.