com.format.xmlAPI has been deprecated. Instead, use the
public interface ILcdXMLElementNameProvider
|Modifier and Type||Method and Description|
TLcdXMLName getElementNameForObject(ILcdXMLNameStack aParentElementNameStack, ILcdXMLObjectStack aParentObjectStack, TLcdXMLName aSubstitutionGroup, Object aElement, TLcdXMLName aTypeName)
TLcdXMLNamethat 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.
aParentElementNameStack- the XML name stack, containing all XML names from the root element up to the parent element name
aParentObjectStack- the XML object stack, containing all XML objects from the root element up to the parent element
aSubstitutionGroup- the substitution group the returned element should belong to, if there is one (
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, or
nullif the element has an anonymous type.