public interface ElementModel extends AnnotationHolder, Locatable
Schema
.Modifier and Type | Method and Description |
---|---|
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 . |
getAnnotation, setAnnotation
getLocation
java.lang.String getElementName()
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.
java.util.List getAttributeModels()
AttributeModel
s. The List is unmodifiable and won't be null, but
may be empty.AttributeModel getAttributeModel(java.lang.String name)
java.lang.String getKeyAttribute()
java.util.List getRules()
Rule
. The List is unmodifiable and
won't but null, but could be empty.java.lang.String getContentTranslator()