Package com.luciad.format.xml
Class TLcdXMLObjectFactoryProvider
java.lang.Object
com.luciad.format.xml.TLcdXMLObjectFactoryProvider
- All Implemented Interfaces:
ILcdXMLObjectFactoryProvider
Deprecated.
Default implementation of
ILcdXMLObjectFactoryProvider
.-
Constructor Summary
ConstructorDescriptionDeprecated.Creates a new, empty object factory provider, with no default factory set. -
Method Summary
Modifier and TypeMethodDescriptiongetFactoryForElement
(ILcdXMLNameStack aElementStack) Deprecated.Returns an object factory for the given XML element name stack.void
registerFactory
(TLcdXMLName[] aName, ILcdXMLObjectFactory aFactory) Deprecated.Registers the given object factory for the XML element name stack specified by theTLcdXMLName
array.
-
Constructor Details
-
TLcdXMLObjectFactoryProvider
public TLcdXMLObjectFactoryProvider()Deprecated.Creates a new, empty object factory provider, with no default factory set.
-
-
Method Details
-
registerFactory
Deprecated.Registers the given object factory for the XML element name stack specified by theTLcdXMLName
array.- Parameters:
aName
- The XML element name stack for which the given factory can create object instances.aFactory
- The factory that can create object instances for the given element stack.
-
getFactoryForElement
Deprecated.Description copied from interface:ILcdXMLObjectFactoryProvider
Returns an object factory for the given XML element name stack. If no factory is available, the provider should returnnull
, not the default factory!- Specified by:
getFactoryForElement
in interfaceILcdXMLObjectFactoryProvider
- Parameters:
aElementStack
- the element name stack for which an object factory is to be returned.- Returns:
- the object factory for the given name stack.
-
com.format.xml
API has been deprecated. Instead, use thecom.format.xml.bind
API.