oracle.cabo.data.jbo.xml.parse
Class JboParserExtensionImpl
java.lang.Object
|
+--oracle.cabo.share.xml.BaseParserExtension
|
+--oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl
- All Implemented Interfaces:
- ParserExtension
- public class JboParserExtensionImpl
- extends BaseParserExtension
ParserExtension for supporting the BC4J element.
Method Summary |
java.lang.Object |
elementEnded(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object parsed,
java.util.Dictionary values)
Called after parsing of the parent element has completed
with extension values still to be processed. |
void |
registerSelf(ParserManager manager)
Registers this extension on a ParserManager. |
static JboParserExtensionImpl |
sharedInstance()
Return the shared instance of the extension. |
NodeParser |
startExtensionElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Called to notify that a child element has been found
that was not handled by the outer parser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JboParserExtensionImpl
public JboParserExtensionImpl()
sharedInstance
public static JboParserExtensionImpl sharedInstance()
- Return the shared instance of the extension.
registerSelf
public void registerSelf(ParserManager manager)
- Registers this extension on a ParserManager.
startExtensionElement
public NodeParser startExtensionElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
- Description copied from class:
BaseParserExtension
- Called to notify that a child element has been found
that was not handled by the outer parser. If a NodeParser
is returned here, it will be used for handling that child element,
and the value it returns will be stored in the Dictionary eventually
passed to "elementEnded".
- Overrides:
startExtensionElement
in class BaseParserExtension
- Following copied from class:
oracle.cabo.share.xml.BaseParserExtension
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the elementattrs
- the attributes attached to the element.- Returns:
- a node parser if one should be used, or null otherwise
elementEnded
public java.lang.Object elementEnded(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.Object parsed,
java.util.Dictionary values)
- Called after parsing of the parent element has completed
with extension values still to be processed.
- Overrides:
elementEnded
in class BaseParserExtension
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the element being processedlocalName
- the local name of the elementparsed
- the object instantiated for the elementvalues
- a Dictionary of all the attributes in the
namespace of this extension, plus values returned
by child elements.
Copyright © 2002,2003, Oracle. All Rights Reserved.