|
||||||||||
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.IntrospectorTag
Creates a Betwixt XMLIntrospector instance that can be used by the other Betwixt tags.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
IntrospectorTag()
|
Method Summary | |
protected org.apache.commons.betwixt.XMLIntrospector |
createIntrospector()
Factory method to create a new XMLIntrospector |
protected static org.apache.commons.betwixt.strategy.NameMapper |
createNameMapper(java.lang.String name)
Static helper method which will convert the given string into standard named strategies such as 'lowercase', 'uppercase' or 'hyphenated' or use the name as a class name and create a new instance. |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
org.apache.commons.betwixt.XMLIntrospector |
getIntrospector()
|
void |
setAttributeNameMapper(org.apache.commons.betwixt.strategy.NameMapper nameMapper)
Sets the name mapper used for attribute names. |
void |
setAttributesForPrimitives(boolean attributesForPrimitives)
Sets whether attributes or elements should be used for primitive types. |
void |
setElementNameMapper(org.apache.commons.betwixt.strategy.NameMapper nameMapper)
Sets the name mapper used for element names. |
void |
setVar(java.lang.String var)
Sets the variable name to output the new XMLIntrospector to. |
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 IntrospectorTag()
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 setAttributesForPrimitives(boolean attributesForPrimitives)
public void setElementNameMapper(org.apache.commons.betwixt.strategy.NameMapper nameMapper)
public void setAttributeNameMapper(org.apache.commons.betwixt.strategy.NameMapper nameMapper)
public void setVar(java.lang.String var)
protected static org.apache.commons.betwixt.strategy.NameMapper createNameMapper(java.lang.String name)
protected org.apache.commons.betwixt.XMLIntrospector createIntrospector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |