Package com.luciad.format.xml
Interface ILcdXMLElementNameProvider
- All Known Implementing Classes:
TLcdGML2ElementNameProvider,TLcdGML3ElementNameProvider,TLcdOGCFilterCapabilitiesElementNameProvider10,TLcdOGCFilterCapabilitiesElementNameProvider11,TLcdXMLTypedElementNameProvider
public interface ILcdXMLElementNameProvider
Deprecated.
A provider of XML element names.
Element name provides are not required to be used in the XML framework (element names can be provided
directly by the element adapters), but they can be useful for grouping common naming facilities,
or for dynamic retrieval of element names for elements having a global type.
-
Method Summary
Modifier and TypeMethodDescriptiongetElementNameForObject(ILcdXMLNameStack aParentElementNameStack, ILcdXMLObjectStack aParentObjectStack, TLcdXMLName aSubstitutionGroup, Object aElement, TLcdXMLName aTypeName) Deprecated.Returns theTLcdXMLNamethat best matches the object, specified by the given name/object stack, substitution group and object.
-
Method Details
-
getElementNameForObject
TLcdXMLName getElementNameForObject(ILcdXMLNameStack aParentElementNameStack, ILcdXMLObjectStack aParentObjectStack, TLcdXMLName aSubstitutionGroup, Object aElement, TLcdXMLName aTypeName) Deprecated.Returns theTLcdXMLNamethat best matches the object, specified by the given name/object stack, substitution group and object. Note that in some cases, more than one name can be returned. E.g., the object for which to return a name can implement multiple interfaces, each having a corresponding XML element name. It is up to the implementation to decide which name is most suited for the current situation, taking into account the name and object stack, the available element names and the XML type and substitution group that are provided.- Parameters:
aParentElementNameStack- the XML name stack, containing all XML names from the root element up to the parent element nameaParentObjectStack- the XML object stack, containing all XML objects from the root element up to the parent elementaSubstitutionGroup- the substitution group the returned element should belong to, if there is one (nullotherwise).aElement- the element for which to return a name.aTypeName- the name of the global type from which the type of the returned element name should inherit, ornullif the element has an anonymous type.- Returns:
- the element name that best matches the specified element.
-
com.format.xmlAPI has been deprecated. Instead, use thecom.format.xml.bindAPI.