oracle.cabo.image.xml.parse
Class TabParser
java.lang.Object
|
+--oracle.cabo.share.xml.BaseNodeParser
|
+--oracle.cabo.image.xml.parse.TabParser
- All Implemented Interfaces:
- NodeParser
- public class TabParser
- extends BaseNodeParser
NodeParser for tab/link elements.
Tabs can either be specified via the or the element.
In either case, four attributes can be specified:
- text
- accessKey
- disabled
- destination
The text attribute can optionally be specified as a text child element,
or as a translated text element.
Method Summary |
void |
addCompletedChild(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object child)
Implementation of NodeParser.addCompletedChild(). |
java.lang.Object |
endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Implementation of NodeParser.endElement() |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabParser
public TabParser()
startElement
public void startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXParseException
- Implementation of NodeParser.startElement()
- Overrides:
startElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the elementattrs
- the attributes attached to the element
endElement
public java.lang.Object endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
- Implementation of NodeParser.endElement()
- Overrides:
endElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- 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)
- Implementation of NodeParser.startChildElement()
- Overrides:
startChildElement
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the child elementattrs
- 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)
- Implementation of NodeParser.addCompletedChild().
- Overrides:
addCompletedChild
in class BaseNodeParser
- Following copied from interface:
oracle.cabo.share.xml.NodeParser
- Parameters:
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.- See Also:
NodeParser.endElement(oracle.cabo.share.xml.ParseContext, java.lang.String, java.lang.String)
Copyright © 2002,2003, Oracle. All Rights Reserved.