Package com.luciad.format.xml
Class TLcdXMLDefaultElementReader
java.lang.Object
com.luciad.format.xml.ALcdXMLElementReader
com.luciad.format.xml.TLcdXMLDefaultElementReader
- All Implemented Interfaces:
ILcdXMLElementReader
Deprecated.
An implementation of
ILcdXMLElementReader
that will store all attribute and
content in an XML element structure, provided that the object, created by the responsible
XML object factory, implements the ILcdXMLEditableElement
interface.-
Constructor Summary
ConstructorDescriptionTLcdXMLDefaultElementReader
(ILcdXMLElementReaderProvider aElementReaderProvider, ILcdXMLObjectFactoryProvider aFactoryProvider) Deprecated.Creates a new default element reader, initialized with the given element reader provider, object factory provider and schema provider. -
Method Summary
Modifier and TypeMethodDescriptionvoid
content
(ILcdXMLNameStack aElementStack, String aContent, ILcdXMLDocumentContext aContext) Deprecated.Default implementation, doing nothing.void
endChildElement
(ILcdXMLNameStack aElementStack, ILcdXMLElementReader aReader, Object aObject, ILcdXMLDocumentContext aContext) Deprecated.Ends a child element, performing the following steps: calls thehandleChild
methodprotected void
initObject
(ILcdXMLNameStack aElementStack, ILcdAssocSet aAttributes, ILcdXMLDocumentContext aContext) Deprecated.Initializes a newly created object.Methods inherited from class com.luciad.format.xml.ALcdXMLElementReader
content, createContext, createObject, endElement, finalizeObject, getChildReader, getCurrentContext, getCurrentObject, getElementReaderProvider, getObjectFactoryProvider, handleChild, isTrimContent, startElement
-
Constructor Details
-
TLcdXMLDefaultElementReader
public TLcdXMLDefaultElementReader(ILcdXMLElementReaderProvider aElementReaderProvider, ILcdXMLObjectFactoryProvider aFactoryProvider) Deprecated.Creates a new default element reader, initialized with the given element reader provider, object factory provider and schema provider.- Parameters:
aElementReaderProvider
-aFactoryProvider
-
-
-
Method Details
-
initObject
protected void initObject(ILcdXMLNameStack aElementStack, ILcdAssocSet aAttributes, ILcdXMLDocumentContext aContext) Deprecated.Description copied from class:ALcdXMLElementReader
Initializes a newly created object. The default implementation is empty.- Overrides:
initObject
in classALcdXMLElementReader
- Parameters:
aAttributes
-
-
content
public void content(ILcdXMLNameStack aElementStack, String aContent, ILcdXMLDocumentContext aContext) Deprecated.Description copied from class:ALcdXMLElementReader
Default implementation, doing nothing.- Overrides:
content
in classALcdXMLElementReader
- Parameters:
aElementStack
-aContent
-aContext
-
-
endChildElement
public void endChildElement(ILcdXMLNameStack aElementStack, ILcdXMLElementReader aReader, Object aObject, ILcdXMLDocumentContext aContext) Deprecated.Description copied from class:ALcdXMLElementReader
Ends a child element, performing the following steps:- calls the
handleChild
method
- Specified by:
endChildElement
in interfaceILcdXMLElementReader
- Overrides:
endChildElement
in classALcdXMLElementReader
- Parameters:
aElementStack
-aReader
-aObject
-aContext
-
- calls the
-
com.format.xml
API has been deprecated. Instead, use thecom.format.xml.bind
API.