org.apache.commons.jelly.tags.xml
public class ParseTag extends ParseTagSupport
body, context, parent
Constructor and Description |
---|
ParseTag() |
Modifier and Type | Method and Description |
---|---|
protected org.dom4j.io.SAXReader |
createSAXReader()
Factory method to create a new SAXReader
|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
boolean |
getValidate() |
java.lang.Object |
getXml()
Gets the source of the XML which is either a String URI, Reader or InputStream
|
protected org.dom4j.Document |
getXmlDocument(XMLOutput output) |
void |
setValidate(boolean validate)
Sets whether XML validation is enabled or disabled
|
void |
setXml(java.lang.Object xml)
Sets the source of the XML which is either a String URI, a File, Reader or InputStream
|
getSAXReader, getText, getVar, parse, parseBody, parseText, setSAXReader, setText, setVar
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
public java.lang.Object getXml()
public void setXml(java.lang.Object xml)
public boolean getValidate()
public void setValidate(boolean validate)
protected org.dom4j.io.SAXReader createSAXReader()
createSAXReader
in class ParseTagSupport
protected org.dom4j.Document getXmlDocument(XMLOutput output) throws JellyTagException
JellyTagException
Copyright © 2014. All Rights Reserved.