|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.retrieval.Schema
de.unidu.is.retrieval.hyrex.HyREXSchema
A schema, created from a HyREX DDL file.
| Field Summary | |
protected org.w3c.dom.Document |
ddl
DDL as XML document. |
| Fields inherited from class de.unidu.is.retrieval.Schema |
rootElement, schemaName, useXPathForQuery |
| Constructor Summary | |
HyREXSchema(org.w3c.dom.Document schema)
Creates a new schema from a DDL document. |
|
HyREXSchema(java.io.File ddlFile)
Creates a new schema from a DDL document. |
|
HyREXSchema(java.lang.String schemaName,
org.w3c.dom.Document schema)
Creates a new schema from a DDL document. |
|
HyREXSchema(java.lang.String schemaName,
java.io.File ddlFile)
Creates a new schema from a DDL document. |
|
| Method Summary | |
void |
addDefaultOperators()
Adds default operators. |
static java.lang.String |
convertDatatypeName(java.lang.String datatypeName)
Converts the datatype name to the PIRE notions. |
static java.lang.String |
convertOperatorName(java.lang.String operator)
Converts the operator name to the PIRE notions. |
java.lang.String |
getBaseName()
Returns the base name from the DDL. |
java.lang.String |
getClassName()
Returns the base name from the DDL. |
org.w3c.dom.Document |
getDDL()
Returns the DDL document. |
static PropertyMap |
getDefaultOperators()
Returns the default operators. |
java.lang.String |
getFilterRegEx()
Returns the regex used for filtering files in the directory. |
java.util.List |
getIndexDirs()
Returns a list containing the indexing directories. |
void |
setDDL(org.w3c.dom.Document ddl)
Sets the DDL document. |
| Methods inherited from class de.unidu.is.retrieval.Schema |
addAlias, addAliases, clearAliases, convPath, extractValues, getAlias, getAliases, getAliasesForXPath, getElement, getHierarchicalView, getPath, getRootElement, getSchemaName, getXPath, getXPaths, getXPathsForAlias, setRootElement, setSchemaName, setUseXPathForQuery, unifyPathForCondition, usesXPathForQuery |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Document ddl
| Constructor Detail |
public HyREXSchema(java.io.File ddlFile)
ddlFile - file with DDL document
public HyREXSchema(java.lang.String schemaName,
java.io.File ddlFile)
schemaName - schema nameddlFile - file with DDL documentpublic HyREXSchema(org.w3c.dom.Document schema)
schema - schema DDL document
public HyREXSchema(java.lang.String schemaName,
org.w3c.dom.Document schema)
schemaName - schema nameschema - schema DDL document| Method Detail |
public org.w3c.dom.Document getDDL()
public void setDDL(org.w3c.dom.Document ddl)
ddl - DDL documentpublic java.lang.String getFilterRegEx()
public java.util.List getIndexDirs()
public java.lang.String getBaseName()
public java.lang.String getClassName()
public void addDefaultOperators()
public static java.lang.String convertDatatypeName(java.lang.String datatypeName)
datatypeName - name of the datatype
public static java.lang.String convertOperatorName(java.lang.String operator)
operator - name of the operator
public static PropertyMap getDefaultOperators()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||