|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.io.xsd.constraint.XmlElements
public class XmlElements
Constraint that states the XmlElement
s associated with a type
definition, by default no elements are contained.
Constructor Summary | |
---|---|
XmlElements()
Create a default XML element constraint w/o any elements |
Method Summary | |
---|---|
void |
addElement(XmlElement element)
Add a XML element to the type |
Collection<? extends XmlElement> |
getElements()
Get the elements associated with the type |
boolean |
isInheritable()
Determines if the constraint is inheritable, meaning it may be used for a sub-type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlElements()
Method Detail |
---|
public Collection<? extends XmlElement> getElements()
public void addElement(XmlElement element)
element
- the element to addpublic boolean isInheritable()
TypeConstraint
isInheritable
in interface TypeConstraint
TypeConstraint.isInheritable()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |