|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.share.xml.BaseNodeParser
org.apache.myfaces.trinidadinternal.image.xml.parse.BaseImageProviderRequestParser
org.apache.myfaces.trinidadinternal.image.xml.parse.CompositeButtonParser
public class CompositeButtonParser
NodeParser for composite button elements
| Constructor Summary | |
|---|---|
CompositeButtonParser()
|
|
| Method Summary | |
|---|---|
void |
addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
Implementation of NodeParser.addCompletedChild(). |
protected java.lang.Character |
getAccessKey(ParseContext context,
org.xml.sax.Attributes attrs)
Gets the Character value of the "accessKey" attribute. |
protected java.lang.String |
getText(ParseContext context,
org.xml.sax.Attributes attrs)
Gets the String value of the "text" attribute. |
protected java.lang.String |
getVersion(ParseContext context,
org.xml.sax.Attributes attrs)
Gets the String value of the "version" attribute. |
NodeParser |
startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Implementation of NodeParser.startChildElement() |
void |
startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Implementation of NodeParser.startElement |
| Methods inherited from class org.apache.myfaces.trinidadinternal.image.xml.parse.BaseImageProviderRequestParser |
|---|
endElement, getColorKey, getDirection, getEncodingType, getFontKey, getHeight, getWidth, isColorElement, isDisabled, isFontElement, isTextAntaliased, setProperty |
| Methods inherited from class org.apache.myfaces.trinidadinternal.share.xml.BaseNodeParser |
|---|
addText, addWhitespace, endChildElement, getIgnoreParser, getRequiredAttribute, logError, logUnexpectedAttribute, logUnexpectedElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeButtonParser()
| Method Detail |
|---|
public void startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXParseException
BaseImageProviderRequestParser
startElement in interface NodeParserstartElement in class BaseImageProviderRequestParsercontext - the parsing contextnamespaceURI - the namespace of the elementlocalName - the local name of the elementattrs - the attributes attached to the element
org.xml.sax.SAXParseException
public NodeParser startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
startChildElement in interface NodeParserstartChildElement in class BaseImageProviderRequestParsercontext - the parsing contextnamespaceURI - the namespace of the child elementlocalName - the local name of the child elementattrs - the attributes attached to the element
NodeParserNodeParser.endChildElement(org.apache.myfaces.trinidadinternal.share.xml.ParseContext, java.lang.String, java.lang.String),
NodeParser.addCompletedChild(org.apache.myfaces.trinidadinternal.share.xml.ParseContext, java.lang.String, java.lang.String, java.lang.Object)
public void addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
addCompletedChild in interface NodeParseraddCompletedChild in class BaseImageProviderRequestParsercontext - the parsing contextnamespaceURI - the namespace of the child elementlocalName - the local name of the child elementchild - the Java object produced for that child by
its NodeParser's endElement() method.NodeParser.endElement(org.apache.myfaces.trinidadinternal.share.xml.ParseContext, java.lang.String, java.lang.String)
protected java.lang.Character getAccessKey(ParseContext context,
org.xml.sax.Attributes attrs)
Returns null if the accessKey attribute is not specified. Otherwise, returns a Character indicating the value of the accessKey attribute.
protected java.lang.String getText(ParseContext context,
org.xml.sax.Attributes attrs)
Returns null if the text attribute is not specified. Otherwise, returns a String indicating the value of the text attribute.
protected java.lang.String getVersion(ParseContext context,
org.xml.sax.Attributes attrs)
Returns null if the version attribute is not specified. Otherwise, returns a String indicating the value of the version attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||