public final class MoveUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static XmlObject |
addRecordToXml(XmlObject object,
Record rec)
Adds a record-element to a given object.
|
static Record |
recordFactory(XmlObject object)
Extracts the Record from an PDR XML object.
|
public static XmlObject addRecordToXml(XmlObject object, Record rec) throws java.lang.Exception
object
- The object.rec
- The record.java.lang.Exception
- Should the object be invalid, this will be thrownpublic static Record recordFactory(XmlObject object) throws java.lang.Exception
object
- The PDR object.java.lang.Exception
- Thrown when there is an error parsing the xml.