public class P2DXmlInterpreter
extends java.lang.Object
Constructor and Description |
---|
P2DXmlInterpreter() |
Modifier and Type | Method and Description |
---|---|
static P2DAxisTypeInterface |
decode_com_highqsoft_interfaces_p2d_P2DAxisTypeInterface(java.lang.String s)
This method returns a axis type created from the incoming xml string presentation.
|
static P2DBoundingBoxInterface |
decode_com_highqsoft_interfaces_p2d_P2DBoundingBoxInterface(java.lang.String s)
This method returns a bounding box created from the incoming xml string presentation.
|
static java.awt.Shape |
decode_java_awt_Shape(java.lang.String s)
This method returns a axis type created from the incoming xml string presentation.
|
static java.lang.String |
encode_com_highqsoft_interfaces_p2d_P2DAxisTypeInterface(P2DAxisTypeInterface type)
This method returns a xml string representation of a axis type.
|
static java.lang.String |
encode_com_highqsoft_interfaces_p2d_P2DBoundingBoxInterface(P2DBoundingBoxInterface box)
This method returns a xml string representation of a boundingbox.
|
static java.lang.String |
encode_java_awt_Shape(java.awt.Shape shape)
This method returns a xml string representation of a shape.
|
static FwkArrayInterface |
readXML(org.w3c.dom.NodeList list,
FwkArrayInterface arr)
This method receives an node list that is the basic to create an object array.
|
static P2DComponentInterface[] |
readXML(java.lang.String filename)
Read an P2D Object array from XML file.
|
public static java.lang.String encode_com_highqsoft_interfaces_p2d_P2DBoundingBoxInterface(P2DBoundingBoxInterface box)
box
- The bounding box.public static P2DBoundingBoxInterface decode_com_highqsoft_interfaces_p2d_P2DBoundingBoxInterface(java.lang.String s)
s
- the xml presentation string.public static java.lang.String encode_com_highqsoft_interfaces_p2d_P2DAxisTypeInterface(P2DAxisTypeInterface type)
type
- The axis type.public static P2DAxisTypeInterface decode_com_highqsoft_interfaces_p2d_P2DAxisTypeInterface(java.lang.String s)
s
- the xml presentation string.public static java.lang.String encode_java_awt_Shape(java.awt.Shape shape)
shape
- The shape.public static java.awt.Shape decode_java_awt_Shape(java.lang.String s)
s
- the xml presentation string.public static FwkArrayInterface readXML(org.w3c.dom.NodeList list, FwkArrayInterface arr)
list
- The xml node list.arr
- The array that will receive the created object.
If null the array will be create.public static P2DComponentInterface[] readXML(java.lang.String filename)
filename
- the xml filename.