public class EbeDocument extends ComplexObject
| Modifier and Type | Field and Description |
|---|---|
protected java.util.TreeMap<java.lang.String,ComplexObject> |
nodes
The nodes (completions and errors) TreeMap
|
protected static AcsComplexType |
typeType
The class type
|
attributes, cTypetype, value| Constructor and Description |
|---|
EbeDocument()
Initialize a new EbeDocument
|
| Modifier and Type | Method and Description |
|---|---|
static AcsComplexType |
getClassType()
The class type getter
|
ComplexObject |
getNode(java.lang.String name)
Get a node by name
|
java.util.TreeMap<java.lang.String,ComplexObject> |
getNodes()
Get the nodes (completion/error) TreeMap
|
java.lang.String |
getPath()
Get the current filename Path
|
void |
load()
Load the data from the selected path
|
void |
putNode(ComplexObject obj)
Add a node (completion/error) to the document
|
void |
save()
Save the data to the selected path
|
static void |
setClassType(AcsComplexType t)
The class type setter
|
void |
setDocumentInfo(java.lang.String name)
Set the basic document info defaults
|
void |
setDocumentInfo(java.lang.String _prefix,
java.lang.String xsi,
java.lang.String xsiNamespace,
java.lang.String xsiLocation,
java.lang.String name)
Set the basic document info
|
void |
setPath(java.lang.String path)
Set the Path of the Document
|
getAttribute, getAttributes, getAttributeValue, setAttributeValuegetTypeDocumentation, getTypeName, getTypeNamespace, getValue, setValue, toStringprotected static AcsComplexType typeType
protected java.util.TreeMap<java.lang.String,ComplexObject> nodes
public static void setClassType(AcsComplexType t)
public static AcsComplexType getClassType()
public void setPath(java.lang.String path)
path - the absolute path to the filepublic java.lang.String getPath()
public void load()
public void save()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic void putNode(ComplexObject obj)
obj - the Object to addpublic java.util.TreeMap<java.lang.String,ComplexObject> getNodes()
public ComplexObject getNode(java.lang.String name)
name - a name to get the nodepublic void setDocumentInfo(java.lang.String _prefix,
java.lang.String xsi,
java.lang.String xsiNamespace,
java.lang.String xsiLocation,
java.lang.String name)
_prefix - prefix (like alma)xsi - xsi infoxsiLocation - the xsi locationname - the document namepublic void setDocumentInfo(java.lang.String name)
name - the document name