oracle.cabo.data.jbo.xml.parse
Class JboParserExtension
java.lang.Object
|
+--oracle.cabo.share.xml.BaseParserExtension
|
+--oracle.cabo.data.jbo.xml.parse.JboParserExtension
- All Implemented Interfaces:
- ParserExtension
- public class JboParserExtension
- 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 attributes)
Called after parsing of the parent element has completed
with extension values still to be processed. |
void |
elementStarted(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.util.Dictionary attributes)
Called before parsing of the parent element has started. |
void |
registerSelf(ParserManager manager)
Registers this extension on a ParserManager. |
static JboParserExtension |
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 |
JboParserExtension
public JboParserExtension()
sharedInstance
public static JboParserExtension sharedInstance()
- Return the shared instance of the extension.
registerSelf
public void registerSelf(ParserManager manager)
- Registers this extension on a ParserManager.
elementStarted
public void elementStarted(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
java.util.Dictionary attributes)
throws org.xml.sax.SAXParseException
- Description copied from class:
BaseParserExtension
- Called before parsing of the parent element has started.
- Overrides:
elementStarted
in class BaseParserExtension
- Following copied from class:
oracle.cabo.share.xml.BaseParserExtension
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the element being processedlocalName
- the local name of the elementattributes
- a Dictionary of all the attributes in the
namespace of this extension
startExtensionElement
public NodeParser startExtensionElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXParseException
- 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 attributes)
throws org.xml.sax.SAXParseException
- Description copied from class:
BaseParserExtension
- Called after parsing of the parent element has completed
with extension values still to be processed.
- Overrides:
elementEnded
in class BaseParserExtension
- Following copied from class:
oracle.cabo.share.xml.BaseParserExtension
- Parameters:
context
- the parsing contextnamespaceURI
- the namespace of the element being processedlocalName
- the local name of the elementparsed
- the object instantiated for the elementattributes
- a Dictionary of all the attributes in the
namespace of this extension
Copyright © 2002,2003, Oracle. All Rights Reserved.