Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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.


Constructor Summary
JboParserExtensionImpl()
           
 
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 oracle.cabo.share.xml.BaseParserExtension
elementStarted, logError, logWarning, logWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JboParserExtensionImpl

public JboParserExtensionImpl()
Method Detail

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 context
namespaceURI - the namespace of the child element
localName - the local name of the element
attrs - 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 context
namespaceURI - the namespace of the element being processed
localName - the local name of the element
parsed - the object instantiated for the element
values - a Dictionary of all the attributes in the namespace of this extension, plus values returned by child elements.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.