public class ParseTag extends TagSupport
body, context, parent| Constructor and Description |
|---|
ParseTag() |
| Modifier and Type | Method and Description |
|---|---|
protected XMLParser |
createJellyParser()
Factory method to create a new Jelly parser
|
protected XMLReader |
createXMLReader()
Factory method to create a new XMLReader
|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
XMLParser |
getJellyParser() |
String |
getText()
Returns the text to be parsed
|
String |
getVar()
The variable name that will be used for the Document variable created
|
XMLReader |
getXMLReader() |
protected void |
parseBody(XMLOutput output)
Parses the body of this tag and returns the parsed document
|
protected void |
parseText(String text)
Parses the give piece of text as being markup
|
void |
setJellyParser(XMLParser jellyParser)
Sets the jellyParser.
|
void |
setText(String text)
Sets the text to be parsed by this parser
|
void |
setVar(String var)
Sets the variable name that will be used for the Document variable created
|
void |
setXMLReader(XMLReader xmlReader)
Sets the XMLReader used for parsing
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tagpublic String getVar()
public void setVar(String var)
public String getText()
public void setText(String text)
text - The text to be parsed by this parserpublic XMLReader getXMLReader() throws ParserConfigurationException, SAXException
ParserConfigurationExceptionSAXExceptionpublic void setXMLReader(XMLReader xmlReader)
public XMLParser getJellyParser()
public void setJellyParser(XMLParser jellyParser)
jellyParser - The jellyParser to setprotected XMLReader createXMLReader() throws ParserConfigurationException, SAXException
protected void parseBody(XMLOutput output) throws JellyTagException
JellyTagExceptionprotected void parseText(String text) throws JellyTagException
JellyTagExceptionprotected XMLParser createJellyParser()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.