Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.gml.writer.internal.geometry
Class Descent

java.lang.Object
  extended by eu.esdihumboldt.hale.io.gml.writer.internal.geometry.Descent

public class Descent
extends Object

Represents a descent in the document, must be used to end elements started with

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Method Summary
 void close()
          Close the descent
static Descent descend(XMLStreamWriter writer, DefinitionPath descendPath, Descent previousDescent, boolean generateRequiredIDs)
          Descend the given path
 DefinitionPath getPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public DefinitionPath getPath()
Returns:
the path

close

public void close()
           throws XMLStreamException
Close the descent

Throws:
XMLStreamException - if an error occurs closing the elements

descend

public static Descent descend(XMLStreamWriter writer,
                              DefinitionPath descendPath,
                              Descent previousDescent,
                              boolean generateRequiredIDs)
                       throws XMLStreamException
Descend the given path

Parameters:
writer - the XML stream writer
descendPath - the path to descend
previousDescent - 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 elements
Returns:
the descent that was opened, it must be closed to close the opened elements
Throws:
XMLStreamException - if an error occurs writing the coordinates

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d