oracle.cabo.ui.laf.xml.parse
Class ImageIconParser
java.lang.Object
|
+--oracle.cabo.share.xml.BaseNodeParser
|
+--oracle.cabo.ui.laf.xml.parse.ImageIconParser
- All Implemented Interfaces:
- NodeParser, XMLConstants
- public class ImageIconParser
- extends BaseNodeParser
- implements XMLConstants
NodeParser for ImageIcons.
Fields inherited from interface oracle.cabo.ui.laf.xml.XMLConstants |
BUNDLES_NAME, 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, LOOK_AND_FEEL_NAME, LOOK_AND_FEEL_NAMESPACE, NAME_ATTR, NAMESPACE_ATTR, NULL_NAME, RENDERERS_NAME, RESOURCE_IMAGE_NAME, RTL_TEXT_ATTR, RTL_URI_ATTR, STYLE_CLASS_ATTR, STYLE_SHEET_NAME_ATTR, TEMPLATE_NAME, TEXT_ATTR, TEXT_NAME, URI_ATTR, URI_IMAGE_NAME, WIDTH_ATTR |
Method Summary |
void |
addCompletedChild(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, java.lang.Object child)
Override of BaseNodeParser.addCompletedChild() for adding <inlineStyle> children. |
java.lang.Object |
endElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName)
Override of BaseNodeParser.endElement(); |
NodeParser |
startChildElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Override of BaseNodeParser.startChildElement() for handling <inlineStyle> child elements. |
void |
startElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Override of LeafNodeParser.getNodeValue(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageIconParser
public ImageIconParser()
startElement
public void startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXParseException
- Override of LeafNodeParser.getNodeValue(). Returns a ComponentNode.
-
- Overrides:
startElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
namespaceURI
- the namespace of the element
localName
- the local name of the element
attrs
- the attributes attached to the element
endElement
public java.lang.Object endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
throws org.xml.sax.SAXParseException
- Override of BaseNodeParser.endElement();
-
- Overrides:
endElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
namespaceURI
- the namespace of the element
localName
- the local name of the element
- Returns:
- the fully-initialized Java object corresponding to this release
startChildElement
public NodeParser startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXParseException
- Override of BaseNodeParser.startChildElement() for handling <inlineStyle> child elements.
-
- Overrides:
startChildElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
namespaceURI
- the namespace of the child element
localName
- the local name of the child element
attrs
- the attributes attached to the element
- Returns:
- the node parser that should be used for this child element, or null if processing should continue with this
NodeParser
- See Also:
NodeParser.endChildElement(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String)
, NodeParser.addCompletedChild(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String, java.lang.Object)
addCompletedChild
public void addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
throws org.xml.sax.SAXParseException
- Override of BaseNodeParser.addCompletedChild() for adding <inlineStyle> children.
-
- Overrides:
addCompletedChild
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
-
- Parameters:
context
- the parsing context
namespaceURI
- the namespace of the child element
localName
- the local name of the child element
child
- the Java object produced for that child by its NodeParser's endElement()
method.
- See Also:
NodeParser.endElement(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String)