|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.xml.ParseTagSupport org.apache.commons.jelly.tags.html.ParseTag
A tag which parses some HTML and defines a variable with the parsed Document. The HTML can either be specified as its body or can be passed in via the html property which can be a Reader, InputStream, URL or String URI.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ParseTag()
|
Method Summary | |
protected org.dom4j.io.SAXReader |
createSAXReader()
Factory method to create a new SAXReader |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
void |
setAttribute(java.lang.String attribute)
Sets whether attributes should be converted to a different case. |
void |
setElement(java.lang.String element)
Sets whether elements should be converted to a different case Possible values are "upper", "lower" or "match" |
void |
setHtml(java.lang.Object html)
Sets the source of the HTML which is either a String URI, Reader or InputStream |
Methods inherited from class org.apache.commons.jelly.tags.xml.ParseTagSupport |
getSAXReader, getText, getVar, parse, parseBody, parseText, setSAXReader, setText, setVar |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParseTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setHtml(java.lang.Object html)
public void setAttribute(java.lang.String attribute)
attribute
- The processing mode of attributespublic void setElement(java.lang.String element)
element
- The processing mode of elementsprotected org.dom4j.io.SAXReader createSAXReader() throws org.xml.sax.SAXException
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |