org.apache.hivemind.schema
Interface ElementModel

All Superinterfaces:
Locatable, Schema
All Known Implementing Classes:
ElementModelImpl

public interface ElementModel
extends Schema

Identifies an element that may occur within some schema. Because elements may be nested, an ElementModel is also a Schema.

Author:
Howard Lewis Ship

Method Summary
 java.util.List getAttributeModels()
          Returns a List of AttributeModels.
 java.lang.String getContentTranslator()
          Returns the translator used for character content within the body of the element; may return null.
 java.lang.String getElementName()
          Returns the name of the element.
 java.util.List getRules()
          Returns a List of Rule.
 
Methods inherited from interface org.apache.hivemind.schema.Schema
getElementModel
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Method Detail

getElementName

public java.lang.String getElementName()
Returns the name of the element.


getAttributeModels

public java.util.List getAttributeModels()
Returns a List of AttributeModels. The List is unmodifiable and won't be null, but may be empty.


getRules

public java.util.List getRules()
Returns a List of Rule. The List is unmodifiable and won't but null, but could be empty.


getContentTranslator

public java.lang.String getContentTranslator()
Returns the translator used for character content within the body of the element; may return null.