public interface PathElement
Type | Property and Description |
---|---|
boolean |
is
Determines if this path element represents a property, otherwise it
represents a sub-type or a group.
|
Modifier and Type | Method and Description |
---|---|
QName |
getName()
Get the path element name.
|
TypeDefinition |
getType()
Get the path element type definition.
|
boolean |
isDowncast()
Determines if this path element represents a type downcast.
|
boolean |
isProperty()
Determines if this path element represents a property, otherwise it
represents a sub-type or a group.
|
boolean |
isTransient()
Determines if the the path element is transient and thus doesn't
represent an element.
|
boolean |
isUnique()
Determines if this path element represents an element that can't be
repeated.
|
void |
prepareWrite(XMLStreamWriter writer)
Write additional attributes/elements after the path element has been
started.
|
QName getName()
TypeDefinition getType()
null
if
the element is transientboolean isProperty()
boolean isTransient()
boolean isDowncast()
boolean isUnique()
void prepareWrite(XMLStreamWriter writer) throws XMLStreamException
writer
- the XML stream writerXMLStreamException
- if an error occurs writing XML to the streamBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a