edu.udo.cs.miningmart.m4.utils
Interface XmlInfo
- All Known Implementing Classes:
- Assertion, BaseAttribute, Case, Chain, Column, Columnset, ColumnsetStatistics, ColumnStatistics1, ColumnStatistics2, Concept, ConceptInheritance, Condition, Constraint, Coordinates, Docu, Feature, ForeignKey, GraphicalM4Object, Key, KeyMember, MultiColumnFeature, Operator, OpParam, Parameter, ParameterObject, PrimaryKey, Projection, Relation, Step, Value
public interface XmlInfo
This interface has to be implemented by all M4Objects
to be export-/importable to/from an XML flat file.
- Version:
- $Id: XmlInfo.java,v 1.4 2006/09/27 14:59:55 euler Exp $
- Author:
- Martin Scholz
|
Method Summary |
void |
doPrint(java.lang.Exception ex)
|
void |
doPrint(java.util.logging.Level verbosity,
java.lang.String message)
|
java.util.Collection |
exportLocal(java.io.Writer out,
java.util.Collection dependent)
|
java.lang.Object |
genericGetter(java.lang.String nameOfGetter)
|
void |
genericSetter(java.lang.String nameOfSetter,
java.lang.Class parameterClassOfSetter,
java.lang.Object objectToSet)
|
java.util.Collection |
getDependentObjects()
|
java.lang.String |
getObjectTag()
|
java.lang.String |
getXmlIdTag()
|
M4Info |
getXmlInfo()
|
java.lang.String |
getXmlVersion()
For compatibility reasons the version of the M4-XML is
available here. |
void |
importLocal(java.lang.String tag,
java.lang.String embedded)
|
M4_XML_VERSION
static final java.lang.String M4_XML_VERSION
- See Also:
- Constant Field Values
TAG_XML_ID
static final java.lang.String TAG_XML_ID
- See Also:
- Constant Field Values
TAG_COLLECTION
static final java.lang.String TAG_COLLECTION
- See Also:
- Constant Field Values
TAG_STRING
static final java.lang.String TAG_STRING
- See Also:
- Constant Field Values
TAG_LONG
static final java.lang.String TAG_LONG
- See Also:
- Constant Field Values
TAG_INTEGER
static final java.lang.String TAG_INTEGER
- See Also:
- Constant Field Values
TAG_SHORT
static final java.lang.String TAG_SHORT
- See Also:
- Constant Field Values
TAG_DOUBLE
static final java.lang.String TAG_DOUBLE
- See Also:
- Constant Field Values
TAG_M4_ID
static final java.lang.String TAG_M4_ID
- See Also:
- Constant Field Values
getXmlVersion
java.lang.String getXmlVersion()
- For compatibility reasons the version of the M4-XML is
available here. The substring after the last 'V' has to
be numeric.
getObjectTag
java.lang.String getObjectTag()
- Returns:
- the tag of
this M4 object
getXmlIdTag
java.lang.String getXmlIdTag()
- Returns:
- the ID tag of
this M4 object
getXmlInfo
M4Info getXmlInfo()
- Returns:
- a
M4Info object with the information
of all XML fields of this object.
getDependentObjects
java.util.Collection getDependentObjects()
throws M4Exception
- Throws:
M4Exception
doPrint
void doPrint(java.util.logging.Level verbosity,
java.lang.String message)
doPrint
void doPrint(java.lang.Exception ex)
exportLocal
java.util.Collection exportLocal(java.io.Writer out,
java.util.Collection dependent)
throws M4Exception,
java.io.IOException
- Throws:
M4Exception
java.io.IOException
importLocal
void importLocal(java.lang.String tag,
java.lang.String embedded)
throws XmlException,
M4Exception
- Throws:
XmlException
M4Exception
genericGetter
java.lang.Object genericGetter(java.lang.String nameOfGetter)
throws M4Exception
- Throws:
M4Exception
genericSetter
void genericSetter(java.lang.String nameOfSetter,
java.lang.Class parameterClassOfSetter,
java.lang.Object objectToSet)
throws M4Exception
- Throws:
M4Exception
Copyright © 2001-2005