Package com.luciad.format.xml
Class TLcdXMLDefaultElementAdapter
java.lang.Object
com.luciad.format.xml.ALcdXMLVisitorBasedElementAdapter
com.luciad.format.xml.TLcdXMLDefaultElementAdapter
- All Implemented Interfaces:
ILcdXMLElementAdapter
Deprecated.
An implementation of
ILcdXMLElementAdapter
that can handle
ILcdXMLElement
objects. All adapter methods are immediately forwarded to the
element.
Content adapters for child elements are retrieved via a element adapter provider.-
Constructor Summary
ConstructorDescriptionTLcdXMLDefaultElementAdapter
(ILcdXMLElementAdapterProvider aElementAdapterProvider, ILcdXMLElementNameProvider aElementNameProvider) Deprecated.Creates a newTLcdXMLDefaultelementAdapter
, with the givenILcdXMLElementAdapterProvider
for retrieving element adapters. -
Method Summary
Modifier and TypeMethodDescriptiongetName
(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, TLcdXMLName aSubstitutionGroup) Deprecated.void
visitAttributes
(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) Deprecated.Visits the attributes of the element, specified by the given name and object stack .void
visitContents
(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) Deprecated.Visits the contents of the element, specified by the given name and object stack .Methods inherited from class com.luciad.format.xml.ALcdXMLVisitorBasedElementAdapter
getAttributeCount, getAttributeName, getAttributeValue, getAttributeValue, getAttributeValueAsString, getAttributeValueAsString, getContent, getContent, getContentAdapter, getContentAdapter, getContentAsString, getContentAsString, getContentCount, getContentCount, getContentName, getElementAdapterProvider, getElementNameProvider, getName, isPrimitiveContent, visitContent, visitElement
-
Constructor Details
-
TLcdXMLDefaultElementAdapter
public TLcdXMLDefaultElementAdapter(ILcdXMLElementAdapterProvider aElementAdapterProvider, ILcdXMLElementNameProvider aElementNameProvider) Deprecated.Creates a newTLcdXMLDefaultelementAdapter
, with the givenILcdXMLElementAdapterProvider
for retrieving element adapters.- Parameters:
aElementAdapterProvider
- the element adapter provider from which to retrieve content adapters for child elements.
-
-
Method Details
-
visitAttributes
public void visitAttributes(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) throws TLcdXMLInterruptedException Deprecated.Description copied from interface:ILcdXMLElementAdapter
Visits the attributes of the element, specified by the given name and object stack .- Specified by:
visitAttributes
in interfaceILcdXMLElementAdapter
- Overrides:
visitAttributes
in classALcdXMLVisitorBasedElementAdapter
- Parameters:
aNameStack
- the XML name stack, identifying the XML element to be visited.aObjectStack
- the XML object stack, identifying the XML element to be visited.aElementVisitor
- the element visitor which is called by this visitable.aDocumentContext
- the XML document context- Throws:
TLcdXMLInterruptedException
- if the visit action has been interrupted.- See Also:
-
visitContents
public void visitContents(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) throws TLcdXMLInterruptedException Deprecated.Description copied from interface:ILcdXMLElementAdapter
Visits the contents of the element, specified by the given name and object stack .- Specified by:
visitContents
in interfaceILcdXMLElementAdapter
- Overrides:
visitContents
in classALcdXMLVisitorBasedElementAdapter
- Parameters:
aNameStack
- the XML name stack, identifying the XML element to be visited.aObjectStack
- the XML object stack, identifying the XML element to be visited.aElementVisitor
- the element visitor which is called by this visitable.aDocumentContext
- the XML document context- Throws:
TLcdXMLInterruptedException
- if the visit action has been interrupted.- See Also:
-
getName
public TLcdXMLName getName(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, TLcdXMLName aSubstitutionGroup) Deprecated.
-
com.format.xml
API has been deprecated. Instead, use thecom.format.xml.bind
API.