public class XMLBeans extends XMLBasicSerialization
| Modifier and Type | Field and Description |
|---|---|
static int |
DATATYPE_LAYOUT
the data that is about to be read/written contains a complete layout
|
static int |
DATATYPE_USERCOMPONENTS
the data that is about to be read/written contains user-components, i.e.,
Metabeans
|
static int |
INDEX_BEANCONNECTIONS
the index in the Vector, where the BeanConnections are stored (Instances
and Connections are stored in a Vector and then serialized)
|
static int |
INDEX_BEANINSTANCES
the index in the Vector, where the BeanInstances are stored (Instances and
Connections are stored in a Vector and then serialized)
|
protected java.util.Hashtable<java.lang.Object,java.util.Vector<java.lang.String>> |
m_BeanConnectionRelation
the relation between Bean and connection, MetaBean BeanConnections are
stored under the reference of the MetaBean, regular connections are stored
under REGULAR_CONNECTION.
|
protected java.beans.beancontext.BeanContextSupport |
m_BeanContextSupport
the beancontext to use for loading from XML and the beancontext is null in
the bean
|
protected java.util.Vector<java.lang.Object> |
m_BeanInstances
keeps track of the BeanInstances read so far, used for the BeanConnections
|
protected java.util.Vector<java.lang.Integer> |
m_BeanInstancesID
keeps track of the BeanInstances read so far, used for the BeanConnections
|
protected javax.swing.JComponent |
m_BeanLayout
the component that manages the layout of the beans
|
protected MetaBean |
m_CurrentMetaBean
the current MetaBean (for the BeanConnections)
|
protected int |
m_DataType
the type of data that is be read/written
|
protected boolean |
m_IgnoreBeanConnections
whether to ignore the BeanConnection
|
protected int |
m_vectorIndex
The index of the vector of bean instances or connections to use. this
corresponds to a tab in the main KnowledgeFlow UI
|
protected static java.lang.String |
REGULAR_CONNECTION
the identifier for regular BeanConnections
|
static java.lang.String |
VAL_ANIMATEDICONPATH
the value of the animatedIconPath property
|
static java.lang.String |
VAL_ASSOCIATEDCONNECTIONS
the value of the associatedConnections property
|
static java.lang.String |
VAL_BEAN
the value of the bean property
|
static java.lang.String |
VAL_BEANCONTEXT
the value of the beanContext property
|
static java.lang.String |
VAL_BLUE
the value of the blue property
|
static java.lang.String |
VAL_COLOR
the value of the color property
|
static java.lang.String |
VAL_CUSTOM_NAME
the value of the customName property
|
static java.lang.String |
VAL_DIR
the value of the dir property
|
static java.lang.String |
VAL_EVENTNAME
the value of the eventname property
|
static java.lang.String |
VAL_FILE
the value of the file property
|
static java.lang.String |
VAL_FONT
the value of the font property
|
static java.lang.String |
VAL_GREEN
the value of the green property
|
static java.lang.String |
VAL_HEIGHT
the value of the height property
|
static java.lang.String |
VAL_HIDDEN
the value of the hidden property
|
static java.lang.String |
VAL_ICONPATH
the value of the iconpath property
|
static java.lang.String |
VAL_ID
the value of the id property
|
static java.lang.String |
VAL_INPUTS
the value of the input property
|
static java.lang.String |
VAL_INPUTSID
the value of the input id property
|
static java.lang.String |
VAL_LOADER
the value of the loader property
|
static java.lang.String |
VAL_LOCATION
the value of the location property
|
static java.lang.String |
VAL_NAME
the value of the value property
|
static java.lang.String |
VAL_OPTIONS
the value of the options property
|
static java.lang.String |
VAL_ORIGINALCOORDS
the value of the originalCoords property
|
static java.lang.String |
VAL_OUTPUTS
the value of the outputs id property
|
static java.lang.String |
VAL_OUTPUTSID
the value of the outputs property
|
static java.lang.String |
VAL_PREFIX
the value of the prefix property
|
static java.lang.String |
VAL_RED
the value of the red property
|
static java.lang.String |
VAL_RELATIONNAMEFORFILENAME
the value of the relationNameForFilename property (Saver)
|
static java.lang.String |
VAL_RELATIVE_PATH |
static java.lang.String |
VAL_SAVER
the value of the saver property
|
static java.lang.String |
VAL_SIZE
the value of the size property
|
static java.lang.String |
VAL_SOURCEID
the value of the source property
|
static java.lang.String |
VAL_STYLE
the value of the style property
|
static java.lang.String |
VAL_SUBFLOW
the value of the subFlow property
|
static java.lang.String |
VAL_TARGETID
the value of the target property
|
static java.lang.String |
VAL_TEXT
the value of the text property
|
static java.lang.String |
VAL_WIDTH
the value of the width property
|
static java.lang.String |
VAL_X
the value of the x property
|
static java.lang.String |
VAL_Y
the value of the y property
|
VAL_CELLS, VAL_KEY, VAL_MAPPING, VAL_VALUEATT_ARRAY, ATT_ARRAY_DEFAULT, ATT_CLASS, ATT_NAME, ATT_NULL, ATT_NULL_DEFAULT, ATT_PRIMITIVE, ATT_PRIMITIVE_DEFAULT, ATT_VERSION, DEBUG, DOCTYPE, m_ClassnameOverride, m_CurrentNode, m_CustomMethods, m_Document, m_Properties, m_suppressWarnings, ROOT_NODE, SUPPRESS_PROPERTY_WARNINGS, TAG_OBJECT, VAL_NO, VAL_ROOT, VAL_YES| Constructor and Description |
|---|
XMLBeans(javax.swing.JComponent layout,
java.beans.beancontext.BeanContextSupport context,
int tab)
initializes the serialization for layouts
|
XMLBeans(javax.swing.JComponent layout,
java.beans.beancontext.BeanContextSupport context,
int datatype,
int tab)
initializes the serialization for different types of data
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBeanConnectionRelation(MetaBean meta,
java.lang.String connection)
adds the given connection-relation for the specified MetaBean (or null in
case of regular connections)
|
protected void |
addBeanInstances(java.util.Vector<java.lang.Object> list)
traverses over all BeanInstances (or MetaBeans) and stores them in a vector
(recurses into MetaBeans, since the sub-BeanInstances are not visible)
|
void |
clear()
generates internally a new XML document and clears also the IgnoreList and
the mappings for the Read/Write-Methods
|
protected BeanConnection |
createBeanConnection(int sourcePos,
int targetPos,
java.lang.String event,
boolean hidden)
generates a connection based on the given parameters
|
protected java.util.Vector<java.lang.String> |
getBeanConnectionRelation(MetaBean meta)
returns the relation for the given MetaBean, for the regular connections,
null has to be used
|
protected java.util.Vector<java.lang.Object> |
getBeanInstancesForIDs(java.util.Vector<java.lang.Integer> ids)
returns a vector with references to BeanInstances according to the IDs in
the given Vector.
|
int |
getDataType()
returns the type of data that is to be read/written
|
protected java.util.Vector<java.lang.Integer> |
getIDsForBeanInstances(java.util.Vector<java.lang.Object> beans)
returns the IDs for the given BeanInstances, i.e., the stored IDs in
m_BeanInstancesID, based on m_BeanInstances
|
java.lang.Object |
readBeanConnection(org.w3c.dom.Element node)
builds the BeanConnection from the given DOM node.
|
java.lang.Object |
readBeanInstance(org.w3c.dom.Element node)
builds the BeanInstance from the given DOM node.
|
java.lang.Object |
readBeanVisual(org.w3c.dom.Element node)
builds the BeanVisual from the given DOM node.
|
java.lang.Object |
readColor(org.w3c.dom.Element node)
builds the Color from the given DOM node.
|
java.lang.Object |
readColorUIResource(org.w3c.dom.Element node)
builds the ColorUIResource from the given DOM node.
|
java.lang.Object |
readDimension(org.w3c.dom.Element node)
builds the Dimension from the given DOM node.
|
java.lang.Object |
readFont(org.w3c.dom.Element node)
builds the Font from the given DOM node.
|
java.lang.Object |
readFontUIResource(org.w3c.dom.Element node)
builds the FontUIResource from the given DOM node.
|
java.lang.Object |
readLoader(org.w3c.dom.Element node)
builds the Loader from the given DOM node.
|
java.lang.Object |
readMetaBean(org.w3c.dom.Element node)
builds the MetaBean from the given DOM node.
|
java.lang.Object |
readPoint(org.w3c.dom.Element node)
builds the Point from the given DOM node.
|
protected java.lang.Object |
readPostProcess(java.lang.Object o)
additional post-processing can happen in derived classes after reading from
XML. re-builds the BeanConnections.
|
protected org.w3c.dom.Document |
readPreProcess(org.w3c.dom.Document document)
additional pre-processing can happen in derived classes before the actual
reading from XML (working on the raw XML). right now it does nothing with
the document, only empties the help-vector for the BeanInstances and reads
the IDs for the BeanInstances, s.t. the correct references can be set again
|
java.lang.Object |
readSaver(org.w3c.dom.Element node)
builds the Saver from the given DOM node.
|
protected void |
rebuildBeanConnections(java.util.Vector<java.util.Vector<?>> deserialized,
java.lang.Object key)
rebuilds all the connections for a certain key in the hashtable. for the
ones being part of a MetaBean, no new instance is built, but only the
reference to the actual BeanConnection set.
|
protected void |
removeUserToolBarBeans(java.util.Vector<?> metabeans)
removes the given meta beans from the layout, since they're only listed in
the user toolbar
|
protected void |
setBeanConnection(BeanConnection conn,
java.util.Vector<BeanConnection> list)
puts the given BeanConnection onto the next null in the given Vector, or at
the end of the list, if no null is found.
|
void |
setDataType(int value)
sets what kind of data is to be read/written
|
org.w3c.dom.Element |
writeBeanConnection(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given BeanConncetion to a DOM structure.
|
org.w3c.dom.Element |
writeBeanInstance(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given BeanInstance to a DOM structure.
|
org.w3c.dom.Element |
writeBeanLoader(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Loader (a bean) to a DOM structure.
|
org.w3c.dom.Element |
writeBeanSaver(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Saver (a bean) to a DOM structure.
|
org.w3c.dom.Element |
writeBeanVisual(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given BeanVisual to a DOM structure.
|
org.w3c.dom.Element |
writeColor(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Color to a DOM structure.
|
org.w3c.dom.Element |
writeColorUIResource(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given ColorUIResource to a DOM structure.
|
org.w3c.dom.Element |
writeDimension(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Dimension to a DOM structure.
|
org.w3c.dom.Element |
writeFont(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Font to a DOM structure.
|
org.w3c.dom.Element |
writeFontUIResource(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given FontUIResource to a DOM structure.
|
org.w3c.dom.Element |
writeLoader(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Loader to a DOM structure.
|
org.w3c.dom.Element |
writeMetaBean(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given MetaBean to a DOM structure.
|
org.w3c.dom.Element |
writePoint(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Point to a DOM structure.
|
protected void |
writePostProcess(java.lang.Object o)
enables derived classes to add other properties to the DOM tree, e.g. ones
that do not apply to the get/set convention of beans. only implemented with
empty method body.
|
protected java.lang.Object |
writePreProcess(java.lang.Object o)
enables derived classes to due some pre-processing on the objects, that's
about to be serialized.
|
org.w3c.dom.Element |
writeSaver(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
adds the given Saver to a DOM structure.
|
getRevision, readCollection, readCostMatrix, readCostMatrixOld, readDefaultListModel, readMap, readMatrix, readMatrixOld, writeCollection, writeCostMatrix, writeCostMatrixOld, writeDefaultListModel, writeMap, writeMatrix, writeMatrixOldaddElement, addElement, addElement, booleanToString, determineClass, determineDescriptor, fromXML, getArrayDimensions, getDescriptorByName, getDescriptors, getPath, getPrimitive, getVersion, invokeReadFromXML, invokeWriteToXML, isPrimitiveArray, main, overrideClassname, overrideClassname, read, read, read, read, readBooleanFromXML, readByteFromXML, readCharFromXML, readDoubleFromXML, readFloatFromXML, readFromXML, readFromXML, readIntFromXML, readLongFromXML, readShortFromXML, setSuppressWarnings, stringToBoolean, toXML, trace, write, write, write, write, writeBooleanToXML, writeByteToXML, writeCharToXML, writeDoubleToXML, writeFloatToXML, writeIntToXML, writeLongToXML, writeShortToXML, writeToXMLpublic static final java.lang.String VAL_ID
public static final java.lang.String VAL_X
public static final java.lang.String VAL_Y
public static final java.lang.String VAL_BEAN
public static final java.lang.String VAL_CUSTOM_NAME
public static final java.lang.String VAL_SOURCEID
public static final java.lang.String VAL_TARGETID
public static final java.lang.String VAL_EVENTNAME
public static final java.lang.String VAL_HIDDEN
public static final java.lang.String VAL_FILE
public static final java.lang.String VAL_DIR
public static final java.lang.String VAL_PREFIX
public static final java.lang.String VAL_RELATIVE_PATH
public static final java.lang.String VAL_OPTIONS
public static final java.lang.String VAL_SAVER
public static final java.lang.String VAL_LOADER
public static final java.lang.String VAL_TEXT
public static final java.lang.String VAL_BEANCONTEXT
public static final java.lang.String VAL_WIDTH
public static final java.lang.String VAL_HEIGHT
public static final java.lang.String VAL_RED
public static final java.lang.String VAL_GREEN
public static final java.lang.String VAL_BLUE
public static final java.lang.String VAL_NAME
public static final java.lang.String VAL_STYLE
public static final java.lang.String VAL_LOCATION
public static final java.lang.String VAL_SIZE
public static final java.lang.String VAL_COLOR
public static final java.lang.String VAL_FONT
public static final java.lang.String VAL_ICONPATH
public static final java.lang.String VAL_ANIMATEDICONPATH
public static final java.lang.String VAL_ASSOCIATEDCONNECTIONS
public static final java.lang.String VAL_INPUTS
public static final java.lang.String VAL_INPUTSID
public static final java.lang.String VAL_OUTPUTS
public static final java.lang.String VAL_OUTPUTSID
public static final java.lang.String VAL_SUBFLOW
public static final java.lang.String VAL_ORIGINALCOORDS
public static final java.lang.String VAL_RELATIONNAMEFORFILENAME
public static final int INDEX_BEANINSTANCES
public static final int INDEX_BEANCONNECTIONS
protected javax.swing.JComponent m_BeanLayout
protected java.util.Vector<java.lang.Object> m_BeanInstances
protected java.util.Vector<java.lang.Integer> m_BeanInstancesID
protected boolean m_IgnoreBeanConnections
protected MetaBean m_CurrentMetaBean
protected static final java.lang.String REGULAR_CONNECTION
protected java.util.Hashtable<java.lang.Object,java.util.Vector<java.lang.String>> m_BeanConnectionRelation
REGULAR_CONNECTIONpublic static final int DATATYPE_LAYOUT
m_DataType,
Constant Field Valuespublic static final int DATATYPE_USERCOMPONENTS
m_DataType,
Constant Field Valuesprotected int m_DataType
DATATYPE_LAYOUT,
DATATYPE_USERCOMPONENTSprotected java.beans.beancontext.BeanContextSupport m_BeanContextSupport
protected int m_vectorIndex
public XMLBeans(javax.swing.JComponent layout,
java.beans.beancontext.BeanContextSupport context,
int tab)
throws java.lang.Exception
layout - the component that manages the layoutcontext - the bean context support to usetab - the index of the vector of bean instances or connections to use
(this corresponds to a visible tab in the main KnowledgeFlow UI)java.lang.Exception - if initialization failspublic XMLBeans(javax.swing.JComponent layout,
java.beans.beancontext.BeanContextSupport context,
int datatype,
int tab)
throws java.lang.Exception
layout - the component that manages the layoutcontext - the bean context support to usedatatype - the type of data to read/writejava.lang.Exception - if initialization failspublic void setDataType(int value)
value - the type of datam_DataTypepublic int getDataType()
m_DataTypepublic void clear()
throws java.lang.Exception
clear in class XMLBasicSerializationjava.lang.Exception - if something goes wrongprotected void addBeanInstances(java.util.Vector<java.lang.Object> list)
list - the BeanInstances/MetaBeans to traverseprotected java.lang.Object writePreProcess(java.lang.Object o)
throws java.lang.Exception
writePreProcess in class XMLSerializationo - the object that is serialized into XMLjava.lang.Exception - if post-processing failsprotected void writePostProcess(java.lang.Object o)
throws java.lang.Exception
writePostProcess in class XMLSerializationo - the object that is serialized into XMLjava.lang.Exception - if post-processing failsprotected org.w3c.dom.Document readPreProcess(org.w3c.dom.Document document)
throws java.lang.Exception
readPreProcess in class XMLSerializationdocument - the document to pre-processjava.lang.Exception - if post-processing failsm_BeanInstancesprotected void setBeanConnection(BeanConnection conn, java.util.Vector<BeanConnection> list)
conn - the connection to add to the listlist - the list to add the BeanConnection toprotected BeanConnection createBeanConnection(int sourcePos, int targetPos, java.lang.String event, boolean hidden) throws java.lang.Exception
sourcePos - the source position in the m_BeanInstances vectortargetPos - the target position in the m_BeanInstances vectorevent - the name of the event, i.e., the connectionhidden - true if the connection is hiddenjava.lang.Exception - if something goes wrongprotected void rebuildBeanConnections(java.util.Vector<java.util.Vector<?>> deserialized,
java.lang.Object key)
throws java.lang.Exception
deserialized - the deserialized knowledgeflowkey - the key of the hashtable to rebuild all connections forjava.lang.Exception - if something goes wrongprotected void removeUserToolBarBeans(java.util.Vector<?> metabeans)
metabeans - the list of MetaBeans in the user toolbarprotected java.lang.Object readPostProcess(java.lang.Object o)
throws java.lang.Exception
readPostProcess in class XMLSerializationo - the object to perform some additional processing onjava.lang.Exception - if post-processing failsprotected java.util.Vector<java.lang.String> getBeanConnectionRelation(MetaBean meta)
meta - the MetaBean (or null for regular connections) to retrieve the
connections forREGULAR_CONNECTIONprotected void addBeanConnectionRelation(MetaBean meta, java.lang.String connection)
meta - the MetaBean (or null for regular connections) to add the
relationship forconnection - the connection relation to addpublic org.w3c.dom.Element writeColor(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
writeColor in class XMLBasicSerializationparent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsColorpublic java.lang.Object readColor(org.w3c.dom.Element node)
throws java.lang.Exception
readColor in class XMLBasicSerializationnode - the associated XML nodejava.lang.Exception - if instantiation failsColorpublic org.w3c.dom.Element writeDimension(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readDimension(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeFont(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readFont(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writePoint(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readPoint(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeColorUIResource(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readColorUIResource(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeFontUIResource(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readFontUIResource(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeBeanInstance(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readBeanInstance(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeBeanConnection(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readBeanConnection(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeBeanLoader(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic org.w3c.dom.Element writeBeanSaver(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic org.w3c.dom.Element writeLoader(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readLoader(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeSaver(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readSaver(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failspublic org.w3c.dom.Element writeBeanVisual(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failspublic java.lang.Object readBeanVisual(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation failsprotected java.util.Vector<java.lang.Integer> getIDsForBeanInstances(java.util.Vector<java.lang.Object> beans)
beans - the beans to retrieve the IDs form_BeanInstances,
m_BeanInstancesIDpublic org.w3c.dom.Element writeMetaBean(org.w3c.dom.Element parent,
java.lang.Object o,
java.lang.String name)
throws java.lang.Exception
parent - the parent of this object, e.g. the class this object is a
member ofo - the Object to describe in XMLname - the name of the objectjava.lang.Exception - if the DOM creation failsprotected java.util.Vector<java.lang.Object> getBeanInstancesForIDs(java.util.Vector<java.lang.Integer> ids)
ids - contains the IDs of the BeanInstancesm_BeanInstances,
m_BeanInstancesIDpublic java.lang.Object readMetaBean(org.w3c.dom.Element node)
throws java.lang.Exception
node - the associated XML nodejava.lang.Exception - if instantiation fails