Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.share.xml.beans
Class BeanParserFactory

java.lang.Object
  |
  +--oracle.cabo.share.xml.beans.BeanParserFactory
All Implemented Interfaces:
ParserFactory
Direct Known Subclasses:
BindingParserFactory, BoundValueParserFactory, BoundValueParserFactory, DataProviderParserFactory, EventHandlerFactory, EventHandlerParserFactory

public class BeanParserFactory
extends java.lang.Object
implements ParserFactory

A ParserFactory that uses BeanDefs to define how to parse elements.


Constructor Summary
BeanParserFactory(java.lang.Class parserType, java.lang.String namespaceURI, java.util.Dictionary beanTypes)
          Creates a BeanParserFactory.
 
Method Summary
protected  NodeParser createBeanParser(ParseContext context, BeanDef beanDef)
           
 BeanDef getBeanDef(java.lang.String namespaceURI, java.lang.String localName)
           
 NodeParser getParser(ParseContext context, java.lang.String namespaceURI, java.lang.String localName)
          Returns the handler used for creating Beans off XML elements with the given namespace and local name.
 void registerSelf(ParserManager manager)
          Registers this factory on a ParserManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanParserFactory

public BeanParserFactory(java.lang.Class parserType,
                         java.lang.String namespaceURI,
                         java.util.Dictionary beanTypes)
Creates a BeanParserFactory.
Parameters:
parserType - the type of objects this factory is used to create
namespaceURI - the namespace of elements this factory handles
beanType - a Dictionary that associates local names with BeanDef objects
Method Detail

registerSelf

public void registerSelf(ParserManager manager)
Registers this factory on a ParserManager.

getParser

public NodeParser getParser(ParseContext context,
                            java.lang.String namespaceURI,
                            java.lang.String localName)
Returns the handler used for creating Beans off XML elements with the given namespace and local name.
Specified by:
getParser in interface ParserFactory

getBeanDef

public BeanDef getBeanDef(java.lang.String namespaceURI,
                          java.lang.String localName)

createBeanParser

protected NodeParser createBeanParser(ParseContext context,
                                      BeanDef beanDef)

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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