public interface MPropertyElement
MProperties.elements(String)
and MPropertyElement.elements()
.
These instances contain element information defined in the adapter
instance description.
Elements are nested elements, such as association lists, directories,
or objects. Attributes are not nested and are
encapsulated by MPropertyAttribute
.
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
elements()
Enumerate over the attributes and immediate elements of this element.
|
java.lang.Object |
get(java.lang.String name,
int index)
Return the index's sub-component with the name.
|
int |
getCount(java.lang.String name)
Return the number of sub-component with the name.
|
java.lang.String |
getFullName()
Returns string rep.
|
java.lang.String |
getName()
Return the element name.
|
java.lang.String |
getParentElement()
Deprecated.
Replaced by
getPath() . |
java.lang.String |
getPath()
Return the path for this element.
|
java.util.Enumeration elements()
Enumeration.nextElement()
can be cast to
MPropertyElement
, MPropertyAttribute
,
or MPropertyText
. The elements
and texts are returned in the order in which they are defined in the
adapter instance description. Attributes are returned before elements
and texts; their order is not guaranteed.java.lang.Object get(java.lang.String name, int index)
int getCount(java.lang.String name)
java.lang.String getName()
java.lang.String getParentElement()
getPath()
.java.lang.String getPath()
java.lang.String getFullName()