uk.ac.bbk.dcs.automed.xml.materialisation
Class XMLDSSMaterialiser
java.lang.Object
uk.ac.bbk.dcs.automed.xml.materialisation.XMLDSSMaterialiser
- Direct Known Subclasses:
- XMLDSSDOMMaterialiser
public abstract class XMLDSSMaterialiser
- extends java.lang.Object
Class Task Description
- Author:
- Lucas Zamboulis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_logger
protected java.util.logging.Logger _logger
_file
protected java.io.File _file
_globalSchema
protected Schema _globalSchema
_dataSourceSchemas
protected Schema[] _dataSourceSchemas
_qp
protected QueryProcessor _qp
_qpc
protected QueryProcessorConfiguration _qpc
_schemaUIDDoc
protected org.w3c.dom.Document _schemaUIDDoc
_useGenericRoot
protected boolean _useGenericRoot
genericRoot
public static final java.lang.String genericRoot
- See Also:
- Constant Field Values
XMLDSSMaterialiser
protected XMLDSSMaterialiser(Schema src,
Schema[] tgts,
java.lang.String absolutePath,
java.lang.String name,
QueryProcessorConfiguration qpc)
- Parameters:
src
- the schema that is to be materialisedtgts
- the schemas providing the data for the materialisationabsolutePath
- the absolute path where the schema is to be materialisedname
- the name of the file that is to be materialised
materialiseSchema
public abstract void materialiseSchema()
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException
getMaterialisedFile
public java.io.File getMaterialisedFile()
getGenericRoot
public boolean getGenericRoot(boolean value)
setGenericRoot
public void setGenericRoot(boolean value)
getTextExtent
protected java.util.List getTextExtent(java.lang.String uid)
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException
getTextExtent
protected java.util.List getTextExtent(java.lang.String uid,
java.lang.String order)
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException
getElementExtent
protected java.util.List getElementExtent(java.lang.String uid)
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException
getNestListExtent
protected java.util.List getNestListExtent(int order,
java.lang.String parentSchemaUID,
java.lang.String childSchemaUID)
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException
getAttributeExtent
protected java.util.List getAttributeExtent(java.lang.String elementSchemaUID,
java.lang.String attributeName)
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException
performQuery
protected java.util.List performQuery(java.lang.String query)
throws XMLMaterialisationException
- Throws:
XMLMaterialisationException