Package com.luciad.format.gml3.reader
Class TLcdGML3ElementReaderProvider
java.lang.Object
com.luciad.format.gml3.reader.TLcdGML3ElementReaderProvider
- All Implemented Interfaces:
ILcdXMLElementReaderProvider
,ILcdXMLTypedElementReaderProvider
@Deprecated
public class TLcdGML3ElementReaderProvider
extends Object
implements ILcdXMLTypedElementReaderProvider
Deprecated.
Provides default
ILcdXMLElementReader
handlers for processing GML documents. This
provider provides all handlers contained in the TLcdGML3ElementReaderLibrary
. See
the documentation of the library for more information about the supported handlers.- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdGML3ElementReaderProvider
(ILcdXMLObjectFactoryProvider aTypeFactoryProvider, ILcdXMLSchemaProvider aSchemaProvider) Deprecated.Constructs a newTLcdGML3ElementReaderProvider
, that will use the givenILcdXMLObjectFactoryProvider
andILcdXMLSchemaProvider
. -
Method Summary
Modifier and TypeMethodDescriptiongetReaderForElement
(ILcdXMLNameStack aElementStack) Deprecated.Returns an element reader for the given XML element name stack.getReaderForType
(TLcdXMLName aTypeName, boolean aSearchRecursive) Deprecated.Returns an element reader for the given type.void
registerReader
(TLcdXMLName aTypeName, ILcdXMLElementReader aReader) Deprecated.Registers the given element reader for the specified type.void
registerReader
(TLcdXMLName aTypeName, TLcdXMLName[] aElementNameStack, ILcdXMLElementReader aReader) Deprecated.Registers the given reader for the anonymous XML type, identified by the given element name stack, and, if the element name stack is contained within a named type, the name of that type.
-
Constructor Details
-
TLcdGML3ElementReaderProvider
public TLcdGML3ElementReaderProvider(ILcdXMLObjectFactoryProvider aTypeFactoryProvider, ILcdXMLSchemaProvider aSchemaProvider) Deprecated.Constructs a newTLcdGML3ElementReaderProvider
, that will use the givenILcdXMLObjectFactoryProvider
andILcdXMLSchemaProvider
.- Parameters:
aTypeFactoryProvider
-aSchemaProvider
-
-
-
Method Details
-
registerReader
Deprecated.Registers the given element reader for the specified type.- Parameters:
aTypeName
- the XML type for which to register a reader.aReader
- the reader to be registered.
-
registerReader
public void registerReader(TLcdXMLName aTypeName, TLcdXMLName[] aElementNameStack, ILcdXMLElementReader aReader) Deprecated.Registers the given reader for the anonymous XML type, identified by the given element name stack, and, if the element name stack is contained within a named type, the name of that type.- Parameters:
aTypeName
- The XML type name from which the specified element name stack is part of.aElementNameStack
- The element name stack, identifying the XML type within the provided XML type.aReader
- A reader to process the given element.- Throws:
NullPointerException
- ifaReader == null
.
-
getReaderForType
Deprecated.Description copied from interface:ILcdXMLTypedElementReaderProvider
Returns an element reader for the given type. If no reader is available for the given type, andaSearchRecursive == true
, the provider will recursively look at the XML super types of the given type, until a super type is found for which a reader is available.- Specified by:
getReaderForType
in interfaceILcdXMLTypedElementReaderProvider
- Parameters:
aTypeName
- the full XML name of the type for which to retrieve an element reader.aSearchRecursive
- flag indicating whether to look recursively into to the super type hierarchy, if no reader was found.- Returns:
- the reader for the given type, or the most closely super type, if no reader was found
for the type itself and the
aSearchRecursive
flag was set.
-
getReaderForElement
Deprecated.Description copied from interface:ILcdXMLElementReaderProvider
Returns an element reader for the given XML element name stack.- Specified by:
getReaderForElement
in interfaceILcdXMLElementReaderProvider
- Parameters:
aElementStack
- the element name stack for which an element reader is to be returned.- Returns:
- the element reader for the given name stack.
-
com.luciad.format.gml3.*
packages are replaced by new decoders and encoders in the packagescom.luciad.format.gml2.xml
,com.luciad.format.gml31.xml
andcom.luciad.format.gml32.xml
.