public final class DataSectionElementSpec extends Object
Modifier and Type | Method and Description |
---|---|
ParameterSpec |
getAttribute(String attributeName)
Gets the specification of the specified attribute of the element.
|
List |
getAttributeCombos()
Gets the attribute combos defined for the element.
|
Map |
getAttributes()
Gets the attributes of the element.
|
String |
getDescription()
Gets the description of the data element.
|
String |
getName()
Gets the name of the data element.
|
DataSectionElementSpec |
getSubElement(String elementName)
Gets the specified sub element that are included in this element.
|
Map |
getSubElements()
Gets the specification of the sub elements that are included in this element.
|
boolean |
isPCDataAllowed()
Returns whether the element can contain a PCDATA text.
|
public String getName()
null
.public String getDescription()
null
.public DataSectionElementSpec getSubElement(String elementName) throws IllegalArgumentException, EntityNotFoundException
elementName
- the name of the element, cannot be null
.null
.IllegalArgumentException
- if elementName == null
.EntityNotFoundException
- if the element does not have any sub element with the specified name.public Map getSubElements()
DataSectionElementSpec
object.null
.public ParameterSpec getAttribute(String attributeName) throws EntityNotFoundException, IllegalArgumentException
attributeName
- the name of the attribute, cannot be null
.null
.EntityNotFoundException
- if the element does not have any attribute with the specified name.IllegalArgumentException
- if attributeName == null
.public Map getAttributes()
ParameterSpec
object.null
.public boolean isPCDataAllowed()
true
if the element can contain text, false
otherwise.public List getAttributeCombos()
AttributeComboSpec
object.null
.See http://www.xins.org/.