|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Identifies an element that may occur within some schema. Because elements may be nested, an
ElementModel is also a Schema
.
Method Summary | |
AttributeModel |
getAttributeModel(java.lang.String name)
|
java.util.List |
getAttributeModels()
Returns a List of AttributeModel s. |
java.lang.String |
getContentTranslator()
Returns the translator used for character content within the body of the element; may return null. |
java.util.List |
getElementModel()
Returns a List of ElementModel , identifing the elements which may be enclosed by the
modeled element. |
java.lang.String |
getElementName()
Returns the name of the element. |
java.lang.String |
getKeyAttribute()
Returns the name of the attribute whose value can be used as a key for an instance of an Element with this ElementModel. |
java.util.List |
getRules()
Returns a List of Rule . |
Methods inherited from interface org.apache.hivemind.parse.AnnotationHolder |
getAnnotation, setAnnotation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
Method Detail |
public java.lang.String getElementName()
public java.util.List getElementModel()
ElementModel
, identifing the elements which may be enclosed by the
modeled element.
The returned list is unmodifiabled and may be empty, but won't be null.
public java.util.List getAttributeModels()
AttributeModel
s. The List is unmodifiable and won't be null, but
may be empty.
public AttributeModel getAttributeModel(java.lang.String name)
public java.lang.String getKeyAttribute()
public java.util.List getRules()
Rule
. The List is unmodifiable and
won't but null, but could be empty.
public java.lang.String getContentTranslator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |