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, ClientActionFactory, DataProviderParserFactory, EventHandlerFactory, EventHandlerParserFactory, InvokeEventHandler.MethodParameter.ParserFactory
- 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 createnamespaceURI
- the namespace of elements this factory handlesbeanType
- a Dictionary that associates local names with
BeanDef objects
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)