com.format.xml.schema
API has been deprecated. Instead, use the com.format.xml.bind.schema
API.public abstract class ALcdXMLTypedIndexBasedElementAdapter extends ALcdXMLIndexBasedElementAdapter
ILcdXMLElementAdapter
, facilitating
the implementation of custom XML adapters and offering support for XML type inheritance,
based on schema information.
For each get...() method of the ILcdXMLElementAdapter
interface, there is an
equivalent getType...() method available, which returns information about the
attributes and/or contents that are specific for the type, handled by this adapter.
Typically, the following methods need to be overwritten:
ILcdXMLElementAdapter
interface are implemented by
this adapter using delegation to the getAttribute...() and getContent...() methods. They should
not be overwritten.
In most cases, it is advised to extend new element adapter classes from
ALcdXMLTypedVisitorBasedElementAdapter
, since implementations of that class are
less error-prone, more compact and have better serial access performance. Only if random access
to child elements is needed, performance is an issue and the domain model object to be adapted
offers random access, this adapter should be taken into consideration.Constructor and Description |
---|
ALcdXMLTypedIndexBasedElementAdapter(ILcdXMLTypedElementAdapterProvider aElementAdapterProvider,
ILcdXMLElementNameProvider aElementNameProvider,
ILcdXMLSchemaProvider aSchemaProvider,
TLcdXMLName aTypeName)
Deprecated.
Constructs an
ALcdXMLTypedIndexBasedElementAdapter object. |
ALcdXMLTypedIndexBasedElementAdapter(ILcdXMLTypedElementAdapterProvider aElementAdapterProvider,
ILcdXMLSchemaProvider aSchemaProvider,
TLcdXMLName aTypeName,
TLcdXMLName aElementName)
Deprecated.
Constructs an
ALcdXMLTypedIndexBasedElementAdapter for a global type, with a fixed
element name. |
ALcdXMLTypedIndexBasedElementAdapter(ILcdXMLTypedElementAdapterProvider aElementAdapterProvider,
ILcdXMLSchemaProvider aSchemaProvider,
TLcdXMLName aTypeName,
TLcdXMLName[] aElementNameStack)
Deprecated.
Constructs an
ALcdXMLTypedIndexBasedElementAdapter object for an anonymous type. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
containsEmptyTypeAttributes(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack)
Deprecated.
Returns
true if this adapter can return empty (null ) XML attributes
for the object on top of the specified object stack. |
protected boolean |
containsEmptyTypeContent(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack)
Deprecated.
Returns
true if this adapter can return empty (null ) XML content for
the object on top of the specified object stack. |
int |
getAttributeCount(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack)
Deprecated.
By default, returns
0 . |
TLcdXMLName |
getAttributeName(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the name of the attribute at
the given index.
|
Object |
getAttributeValue(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the value of the attribute at
the given index.
|
Object |
getAttributeValue(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
TLcdXMLName aAttributeName)
Deprecated.
Inspects the object on top of the name/object stack: returns the value of the attribute with
the specified name, or
null if no such attribute exists. |
String |
getAttributeValueAsString(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Returns the
toString() value of the Object returned by
getAttributeValue() . |
String |
getAttributeValueAsString(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
TLcdXMLName aAttributeName)
Deprecated.
Inspects the object on top of the name/object stack: returns the value of the attribute with
the specified name, as a String.
|
Object |
getContent(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the content,
at the given index.
|
ILcdXMLElementAdapter |
getContentAdapter(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Returns an XML adapter for the content at the specified index.
|
String |
getContentAsString(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Returns the
toString() value of the Object returned by
getContent() . |
int |
getContentCount(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack)
Deprecated.
By default, returns
0 . |
TLcdXMLName |
getContentName(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Returns the XML name for the content at the specified index.
|
TLcdXMLName |
getName(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
TLcdXMLName aSubstitutionGroup,
Object aObject)
Deprecated.
Returns the name of the object specified by the given name/object stack, substitution group
and object.
|
TLcdXMLSchemaType |
getType()
Deprecated.
Returns the XML Schema type this adapter is written for.
|
protected int |
getTypeAttributeCount(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack)
Deprecated.
Inspects the object on top of the name/object stack: returns the number of attributes, contained
in the inspected object.
|
protected TLcdXMLName |
getTypeAttributeName(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the name of the attribute at
the given index.
|
protected Object |
getTypeAttributeValue(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the value of the attribute at
the given index.
|
protected String |
getTypeAttributeValueAsString(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the value of the attribute at
the given index, as a String.
|
protected Object |
getTypeContent(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the content,
at the given index.
|
protected ILcdXMLElementAdapter |
getTypeContentAdapter(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns a suitable
ILcdXMLElementAdapter for the content at the given index. |
protected String |
getTypeContentAsString(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the content,
at the given index, as a String.
|
protected int |
getTypeContentCount(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack)
Deprecated.
Inspects the object on top of the name/object stack: returns the number of contents, contained
in the inspected object.
|
protected TLcdXMLName |
getTypeContentName(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns the name of the content
at the given index.
|
protected TLcdXMLName |
getTypeContentSubstitutionGroup(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
|
protected TLcdXMLSchemaUtil |
getXMLSchemaUtil()
Deprecated.
Returns an XML util instance, initialized with the proper schema provider.
|
boolean |
isPrimitiveContent(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
By default, returns
false . |
protected boolean |
isTypePrimitiveContent(ILcdXMLNameStack aNameStack,
ILcdXMLObjectStack aObjectStack,
int aIndex)
Deprecated.
Inspects the object on top of the name/object stack: returns
true if the content
at the given index is primitive content (i.e., no XML element), false otherwise. |
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 .
|
void |
visitElement(ILcdXMLEditableNameStack aNameStack,
ILcdXMLEditableObjectStack aObjectStack,
TLcdXMLName aSubstitutionGroup,
Object aObject,
ILcdXMLElementVisitor aElementVisitor,
ILcdXMLDocumentContext aDocumentContext)
Deprecated.
Visits the given element.
|
getContent, getContentAdapter, getContentAsString, getContentCount, getElementAdapterProvider, getElementNameProvider
public ALcdXMLTypedIndexBasedElementAdapter(ILcdXMLTypedElementAdapterProvider aElementAdapterProvider, ILcdXMLElementNameProvider aElementNameProvider, ILcdXMLSchemaProvider aSchemaProvider, TLcdXMLName aTypeName)
ALcdXMLTypedIndexBasedElementAdapter
object.aElementAdapterProvider
- the element adapter provider to which adapter requests should be
forwarded.aElementNameProvider
- the element name provider to which naming requests should be
forwarded.aSchemaProvider
- the schema provider to which schema requests should be
forwarded.aTypeName
- the XML type name for which this adapter is written.public ALcdXMLTypedIndexBasedElementAdapter(ILcdXMLTypedElementAdapterProvider aElementAdapterProvider, ILcdXMLSchemaProvider aSchemaProvider, TLcdXMLName aTypeName, TLcdXMLName aElementName)
ALcdXMLTypedIndexBasedElementAdapter
for a global type, with a fixed
element name.aElementAdapterProvider
- the element adapter provider to which adapter requests should be
forwarded.aSchemaProvider
- the schema provider to which schema requests should be
forwarded.aTypeName
- the XML type name for which this adapter is written.aElementName
- the XML element name to be returned for elements handled by this
adapter. No ILcdXMLElementNameProvider
will be used
for look-up of the name.public ALcdXMLTypedIndexBasedElementAdapter(ILcdXMLTypedElementAdapterProvider aElementAdapterProvider, ILcdXMLSchemaProvider aSchemaProvider, TLcdXMLName aTypeName, TLcdXMLName[] aElementNameStack)
ALcdXMLTypedIndexBasedElementAdapter
object for an anonymous type.aElementAdapterProvider
- the element adapter provider to which adapter requests should be
forwarded.aSchemaProvider
- the schema provider to which schema requests should be
forwarded.aTypeName
- the XML type in which the following namestack is defined.aElementNameStack
- the XML element namestack, pointing to the type for which this
adapter is written.public TLcdXMLName getName(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, TLcdXMLName aSubstitutionGroup, Object aObject)
ILcdXMLElementAdapter
getName
in interface ILcdXMLElementAdapter
getName
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aSubstitutionGroup
- the substitution group the returned element should belong to, if
there is one (null
otherwise).aObject
- the element for which to return a name.public TLcdXMLName getAttributeName(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ILcdXMLElementAdapter
getAttributeName
in interface ILcdXMLElementAdapter
getAttributeName
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the attribute whose name is to be returned.public Object getAttributeValue(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ILcdXMLElementAdapter
getAttributeValue
in interface ILcdXMLElementAdapter
getAttributeValue
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the attribute whose value is to be returned.public String getAttributeValueAsString(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ALcdXMLIndexBasedElementAdapter
toString()
value of the Object returned by
getAttributeValue()
.getAttributeValueAsString
in interface ILcdXMLElementAdapter
getAttributeValueAsString
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.getAttributeValue(aNameStack, aObjectStack, aIndex).toString()
public int getAttributeCount(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack)
ALcdXMLIndexBasedElementAdapter
0
.getAttributeCount
in interface ILcdXMLElementAdapter
getAttributeCount
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.0
public Object getAttributeValue(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, TLcdXMLName aAttributeName)
ILcdXMLElementAdapter
null
if no such attribute exists.getAttributeValue
in interface ILcdXMLElementAdapter
getAttributeValue
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aAttributeName
- the name of the attribute for which to return a value.public String getAttributeValueAsString(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, TLcdXMLName aAttributeName)
ILcdXMLElementAdapter
getAttributeValueAsString
in interface ILcdXMLElementAdapter
getAttributeValueAsString
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aAttributeName
- the name of the attribute for which to return a value.public TLcdXMLName getContentName(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ALcdXMLIndexBasedElementAdapter
ILcdXMLElementNameProvider
that was provided at construction
time.getContentName
in interface ILcdXMLElementAdapter
getContentName
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.public Object getContent(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ILcdXMLElementAdapter
getContent
in interface ILcdXMLElementAdapter
getContent
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.public String getContentAsString(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ALcdXMLIndexBasedElementAdapter
toString()
value of the Object returned by
getContent()
.getContentAsString
in interface ILcdXMLElementAdapter
getContentAsString
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.getContent(aNameStack, aObjectStack, aIndex).toString()
public ILcdXMLElementAdapter getContentAdapter(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ALcdXMLIndexBasedElementAdapter
ILcdXMLElementAdapterProvider
that was provided at construction
time.getContentAdapter
in interface ILcdXMLElementAdapter
getContentAdapter
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.public boolean isPrimitiveContent(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ALcdXMLIndexBasedElementAdapter
false
.isPrimitiveContent
in interface ILcdXMLElementAdapter
isPrimitiveContent
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.false
public int getContentCount(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack)
ALcdXMLIndexBasedElementAdapter
0
.getContentCount
in interface ILcdXMLElementAdapter
getContentCount
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.0
public void visitElement(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, TLcdXMLName aSubstitutionGroup, Object aObject, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) throws TLcdXMLInterruptedException
ILcdXMLElementAdapter
ILcdXMLElementVisitor
interface documentation contains a detailed description
of how an XML element needs to be visited.visitElement
in interface ILcdXMLElementAdapter
visitElement
in class ALcdXMLIndexBasedElementAdapter
aNameStack
- the XML name stack, identifying the XML element to be visited.aObjectStack
- the XML object stack, identifying the XML element to be visited.aSubstitutionGroup
- the element name or substitution group of the element to be visitedaObject
- the lement to be visitedaElementVisitor
- the element visitor which is called by this visitable.aDocumentContext
- the XML document contextTLcdXMLInterruptedException
- if the visit action has been interrupted.ILcdXMLElementVisitor
public void visitAttributes(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) throws TLcdXMLInterruptedException
ILcdXMLElementAdapter
visitAttributes
in interface ILcdXMLElementAdapter
visitAttributes
in class ALcdXMLIndexBasedElementAdapter
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 contextTLcdXMLInterruptedException
- if the visit action has been interrupted.ILcdXMLElementVisitor
public void visitContents(ILcdXMLEditableNameStack aNameStack, ILcdXMLEditableObjectStack aObjectStack, ILcdXMLElementVisitor aElementVisitor, ILcdXMLDocumentContext aDocumentContext) throws TLcdXMLInterruptedException
ILcdXMLElementAdapter
visitContents
in interface ILcdXMLElementAdapter
visitContents
in class ALcdXMLIndexBasedElementAdapter
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 contextTLcdXMLInterruptedException
- if the visit action has been interrupted.ILcdXMLElementVisitor
protected TLcdXMLName getTypeAttributeName(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the attribute whose name is to be returned.protected Object getTypeAttributeValue(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the attribute whose value is to be returned.protected String getTypeAttributeValueAsString(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.protected int getTypeAttributeCount(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.protected Object getTypeContent(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.protected String getTypeContentAsString(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.protected TLcdXMLName getTypeContentSubstitutionGroup(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
aNameStack
- aObjectStack
- aIndex
- protected TLcdXMLName getTypeContentName(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
<element name="xxx" type="yyy"/>
), this
name can be returned immediately.<element ref="zzz">
),
the child adapter should be retrieved, and the call should be forwarded to the
getName()
method of the child adapter, with the given substitution group.getName()
method of the child adapter,
with the null
argument as substitution group.aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.protected boolean isTypePrimitiveContent(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
true
if the content
at the given index is primitive content (i.e., no XML element), false
otherwise.aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.true
if the content at the given index is primitive content,
false
otherwise.protected ILcdXMLElementAdapter getTypeContentAdapter(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack, int aIndex)
ILcdXMLElementAdapter
for the content at the given index.aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.aIndex
- the index of the content whose name is to be returned.protected int getTypeContentCount(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack)
aNameStack
- the XML name stack, identifying the XML element to be inspected.aObjectStack
- the XML object stack, identifying the XML element to be inspected.protected boolean containsEmptyTypeAttributes(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack)
true
if this adapter can return empty (null
) XML attributes
for the object on top of the specified object stack.aNameStack
- the XML element name stack that represents the location in the XML
structure of the element to be investigated.aObjectStack
- the object stack that contains for each element name at the same location
in the element name stack, the corresponding object.true
if this adapter can return empty (null
) XML attributes
for the specified object, false
otherwise.protected boolean containsEmptyTypeContent(ILcdXMLNameStack aNameStack, ILcdXMLObjectStack aObjectStack)
true
if this adapter can return empty (null
) XML content for
the object on top of the specified object stack.aNameStack
- the XML element name stack that represents the location in the XML
structure of the element to be investigated.aObjectStack
- the object stack that contains for each element name at the same location
in the element name stack, the corresponding object.true
if this adapter can return empty (null
) XML content for
the specified object, false
otherwise.protected TLcdXMLSchemaUtil getXMLSchemaUtil()
public TLcdXMLSchemaType getType()