public class Descent extends Object
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the descent
|
static Descent |
descend(XMLStreamWriter writer,
DefinitionPath descendPath,
Descent previousDescent,
boolean generateRequiredIDs)
Descend the given path
|
static Descent |
descend(XMLStreamWriter writer,
DefinitionPath descendPath,
Descent previousDescent,
boolean generateRequiredIDs,
boolean allowFullClose)
Descend the given path
|
DefinitionPath |
getPath() |
public DefinitionPath getPath()
public void close() throws XMLStreamException
XMLStreamException
- if an error occurs closing the elementspublic static Descent descend(XMLStreamWriter writer, DefinitionPath descendPath, Descent previousDescent, boolean generateRequiredIDs) throws XMLStreamException
writer
- the XML stream writerdescendPath
- the path to descendpreviousDescent
- the previous descent, that will be closed or
partially closed as needed, may be null
generateRequiredIDs
- if required IDs shall be generated for the
path elementsXMLStreamException
- if an error occurs writing the coordinatespublic static Descent descend(XMLStreamWriter writer, DefinitionPath descendPath, Descent previousDescent, boolean generateRequiredIDs, boolean allowFullClose) throws XMLStreamException
writer
- the XML stream writerdescendPath
- the path to descendpreviousDescent
- the previous descent, that will be closed or
partially closed as needed, may be null
generateRequiredIDs
- if required IDs shall be generated for the
path elementsallowFullClose
- if it is allowed to fully close the previous
descent regardless of element uniquenessXMLStreamException
- if an error occurs writing the coordinatesBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a