|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.spec.DataSectionElementSpec
Specification of a data section element.
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
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
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |