cwi.GraphXML.Elements
Class Path
java.lang.Object
cwi.GraphXML.Elements.Path
- All Implemented Interfaces:
- java.io.Serializable
- public class Path
- extends java.lang.Object
- implements java.io.Serializable
Path information. It contains, essentially, an array of position elements.
- Author:
- Ivan Herman
- See Also:
Position
,
Serialized Form
Constructor Summary |
Path()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ARC
public static final int ARC
- See Also:
- Constant Field Values
POLYLINE
public static final int POLYLINE
- See Also:
- Constant Field Values
SPLINE
public static final int SPLINE
- See Also:
- Constant Field Values
Path
public Path()
getType
public int getType()
getPositions
public Position[] getPositions()
create
public static Path create(org.w3c.dom.Node node,
ParserError parserError)
- Retrieve the representation of a position from a node, and returns
a corresponding class instance.
- Parameters:
node
- The node containing the reference.
- Returns:
- new Reference class, or null
toString
public java.lang.String toString()