public class XmlElement extends AbstractDefinition<TypeConstraint>
name
Constructor and Description |
---|
XmlElement(QName elementName,
TypeDefinition type,
QName substitutionGroup)
Create a new schema element
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
Get the definitions identifier
|
QName |
getSubstitutionGroup()
Get the element substitution group
|
TypeDefinition |
getType()
Get the type definition associated with the element
|
compareTo, equals, getConstraint, getDescription, getDisplayName, getInheritedConstraint, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation, toString
public XmlElement(QName elementName, TypeDefinition type, QName substitutionGroup)
elementName
- the element nametype
- the associated type definitionsubstitutionGroup
- the substitution group, may be null
public TypeDefinition getType()
public QName getSubstitutionGroup()
null
public String getIdentifier()
Definition
getIdentifier
in interface Definition<TypeConstraint>
getIdentifier
in class AbstractDefinition<TypeConstraint>
Definition.getIdentifier()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a