uk.ac.bbk.dcs.automed.modelmanagement
Class XMLDSSModelDef

java.lang.Object
  extended by uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
      extended by uk.ac.bbk.dcs.automed.modelmanagement.XMLDSSModelDef

public class XMLDSSModelDef
extends ModelDef


Field Summary
private static java.lang.String[] featureNames
           
static int VALIDATING
          A feature stating whether the parser of the XML file should validate the file against the accompanying XML Schema/DTD.
static int WHITESPACE_COLLAPSE
          A feature stating that after the processing implied by replace, contiguous sequences of #x20's are collapsed to a single #x20, and leading and trailing #x20's are removed.
static int WHITESPACE_REPLACE
          A feature stating that all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space).
 
Fields inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
automedModelName, baseName, distinctModels, empty, modelInUse, modelName, SOURCE_PREFIX
 
Constructor Summary
XMLDSSModelDef()
           
 
Method Summary
 void createAutoMedModel()
          Create the automed oriented Model used to represent the Schema of the datasource.
 void createModel()
          Create the source oriented Model used to represent the Schema of the datasource.
 java.lang.String[] getFeatureNames()
          Return the list of feature names provided by the model definition.
 
Methods inherited from class uk.ac.ic.doc.automed.modelmanagement.modeldef.ModelDef
clearFeatures, getAutoMedModel, getAutoMedModelName, getFeatures, getModel, getModelBaseName, getModelName, isFeatureInUse, setFeatures, setFeatures, setModelBaseName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATING

public static final int VALIDATING
A feature stating whether the parser of the XML file should validate the file against the accompanying XML Schema/DTD.

See Also:
Constant Field Values

WHITESPACE_REPLACE

public static final int WHITESPACE_REPLACE
A feature stating that all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space).

See Also:
Constant Field Values

WHITESPACE_COLLAPSE

public static final int WHITESPACE_COLLAPSE
A feature stating that after the processing implied by replace, contiguous sequences of #x20's are collapsed to a single #x20, and leading and trailing #x20's are removed.

See Also:
Constant Field Values

featureNames

private static final java.lang.String[] featureNames
Constructor Detail

XMLDSSModelDef

public XMLDSSModelDef()
Method Detail

getFeatureNames

public java.lang.String[] getFeatureNames()
Description copied from class: ModelDef
Return the list of feature names provided by the model definition. The order of feature names is the same as the bit position in the #setFeature methods. In particular you may use the list on javax.swing.JList#setListData()

Specified by:
getFeatureNames in class ModelDef

createAutoMedModel

public void createAutoMedModel()
                        throws InconsistentException
Description copied from class: ModelDef
Create the automed oriented Model used to represent the Schema of the datasource.

Specified by:
createAutoMedModel in class ModelDef
Throws:
InconsistentException

createModel

public void createModel()
                 throws InconsistentException
Description copied from class: ModelDef
Create the source oriented Model used to represent the Schema of the datasource.

Specified by:
createModel in class ModelDef
Throws:
InconsistentException