|
||||||||||
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.ui.laf.xml.parse.SkinAdditionNodeParser
public class SkinAdditionNodeParser
NodeParser for <skin-addition> node in trinidad-skins.xml
Field Summary |
---|
Fields inherited from interface org.apache.myfaces.trinidadinternal.ui.laf.xml.XMLConstants |
---|
CLASS_NAME, CONFIG_IMAGE_NAME, CONTEXT_IMAGE_NAME, EXTENDS_ATTR, FACETS_ATTR, FAMILY_ATTR, HEIGHT_ATTR, ICONS_NAME, ID_ATTR, INLINE_STYLE_NAME, INSTANCE_NAME, NAME_ATTR, NAMESPACE_ATTR, NULL_NAME, PROPERTIES_NAME, REFERENCE_NAME, RENDER_KIT_ID_ATTR, RENDERERS_NAME, RESOURCE_IMAGE_NAME, RTL_TEXT_ATTR, RTL_URI_ATTR, SKIN_NAMESPACE, STYLE_CLASS_ATTR, STYLE_SHEET_NAME_ATTR, TEMPLATE_NAME, TEXT_ATTR, TEXT_NAME, URI_ATTR, URI_IMAGE_NAME, WIDTH_ATTR |
Constructor Summary | |
---|---|
SkinAdditionNodeParser()
|
Method Summary | |
---|---|
void |
addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
Receives notification of the end of a delegated child element. |
java.lang.Object |
endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Receives notification of the end of the element. |
NodeParser |
startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Receives notification of the start of a child element. |
void |
startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Receives notification of the start of an element. |
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 SkinAdditionNodeParser()
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
NodeParser
startElement
in interface NodeParser
startElement
in class BaseNodeParser
context
- 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 java.lang.Object endElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName) throws org.xml.sax.SAXParseException
NodeParser
endElement
in interface NodeParser
endElement
in class BaseNodeParser
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the element
org.xml.sax.SAXParseException
public NodeParser startChildElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXParseException
NodeParser
addCompletedChild()
startChildElement
in interface NodeParser
startChildElement
in class BaseNodeParser
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the child elementattrs
- the attributes attached to the element
NodeParser
org.xml.sax.SAXParseException
NodeParser.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) throws org.xml.sax.SAXParseException
NodeParser
startChildElement
returns a value
other than "null" or "this".
addCompletedChild
in interface NodeParser
addCompletedChild
in class BaseNodeParser
context
- 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.
org.xml.sax.SAXParseException
NodeParser.endElement(org.apache.myfaces.trinidadinternal.share.xml.ParseContext, java.lang.String, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |