|
||||||||||
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.betwixt.ParseTag
Parses some XML specified via the given URI (which can be relative or an absolute URL) and outputs the parsed object. Typically this tag is customized by setting the introspector attribute or nesting a child introspector tag inside it.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ParseTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
protected java.lang.ClassLoader |
getClassLoader()
|
org.apache.commons.betwixt.XMLIntrospector |
getIntrospector()
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the ClassLoader to be used to load bean classes from. |
void |
setIntrospector(org.apache.commons.betwixt.XMLIntrospector introspector)
Sets the Betwixt XMLIntrospector instance used to define the metadata for how a bean should appear as XML. |
void |
setPath(java.lang.String path)
Sets the path that the root class should be bound to. |
void |
setRootClass(java.lang.String rootClass)
Sets the name of the root class to use for parsing the XML |
void |
setUri(java.lang.String uri)
Sets the URI from which XML is parsed. |
void |
setUseContextClassLoader(boolean useContextClassLoader)
Sets whether or not the current threads's context class loader should be used to load the bean classes or not. |
void |
setVar(java.lang.String var)
Sets the variable name to output with the result of the XML parse. |
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.MissingAttributeException, org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
public org.apache.commons.betwixt.XMLIntrospector getIntrospector()
public void setIntrospector(org.apache.commons.betwixt.XMLIntrospector introspector)
public void setUri(java.lang.String uri)
public void setVar(java.lang.String var)
public void setRootClass(java.lang.String rootClass)
public void setPath(java.lang.String path)
public void setUseContextClassLoader(boolean useContextClassLoader)
public void setClassLoader(java.lang.ClassLoader classLoader)
protected java.lang.ClassLoader getClassLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |