|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.sixdml.excelon.xlnSixdmlIndex
xlnSixdmlIndex.java A database index. Created: Sun Jan 13 15:58:50 2002
| Field Summary | |
private HashMap |
indexFields
The fields of this index. |
(package private) com.exln.dxe.filesystem.XlnIndex |
myIndex
The underlying eXcelon index that this class acts as a wrapper for. |
private String |
name
The name of the index. |
| Fields inherited from interface org.sixdml.dbmanagement.SixdmlIndex |
STRUCTURE_INDEX, TEXT_INDEX, UNKNOWN, VALUE_INDEX |
| Fields inherited from interface org.sixdml.SixdmlConstants |
SIXDML_NS, SIXDML_VERSION |
| Constructor Summary | |
private |
xlnSixdmlIndex()
Default constructor private because one must always create an xlnSixdmlIndex with an underlying SixdmlIndex. |
(package private) |
xlnSixdmlIndex(String name,
HashMap indexFields)
Creates an index with a name, an indexFields table and an underlying DXE database. |
(package private) |
xlnSixdmlIndex(com.exln.dxe.filesystem.XlnIndex index,
String name)
Initializes the object with a eXcelon DXE index type. |
| Method Summary | |
(package private) static org.sixdml.excelon.xlnSixdmlIndex |
createIndex(Element xmlNode)
Creates a xlnSixdmlIndex object from an XML serialization of the class. |
boolean |
equals(Object obj)
Compares two objects of this class. |
com.exln.dxe.filesystem.XlnIndex |
getIndex()
Returns this objects underlying eXcelon DXE XlnIndex object, if non-exists because this class instance was created in an ad-hoc manner then a new XlnIndex object will be created. |
HashMap |
getIndexFields()
Returns a hash table containing various characteristics of the index depending on its type. |
String |
getName()
Get the name of the index. |
org.sixdml.dbmanagement.SixdmlIndexType |
getType()
Returns the type of the index. |
Node |
getXMLAsNode()
Creates an XML representation of this object that conforms to the following DTD as a DOM node. |
String |
getXMLAsString()
Creates an XML representation of this object that conforms to the following DTD as a string. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
final com.exln.dxe.filesystem.XlnIndex myIndex
private String name
private HashMap indexFields
getIndexFields()| Constructor Detail |
private xlnSixdmlIndex()
xlnSixdmlIndex(String name,
HashMap indexFields)
name - the name of the index.indexFields - the index fields for the class.
xlnSixdmlIndex(com.exln.dxe.filesystem.XlnIndex index,
String name)
index - the eXcelon DXE index type.name - the name of the index.| Method Detail |
static org.sixdml.excelon.xlnSixdmlIndex createIndex(Element xmlNode)
<!ELEMENT index(indexKey, indexElement, options, type, tokenizer?)> <!ATTLIST index name CDATA #REQUIRED > <!ELEMENT indexKey (#PCDATA)> <!ELEMENT indexElement (#PCDATA)> <!ELEMENT options (#PCDATA)> <!ELEMENT type (#PCDATA)>
xmlNode - the XML representation of the object to create
public com.exln.dxe.filesystem.XlnIndex getIndex()
public String getName()
getName in interface SixdmlIndexpublic org.sixdml.dbmanagement.SixdmlIndexType getType()
getType in interface SixdmlIndexpublic HashMap getIndexFields()
getIndexFields in interface SixdmlIndexpublic Node getXMLAsNode()
<!ELEMENT index(indexKey, indexElement, options, type, tokenizer?)> <!ATTLIST index name CDATA #REQUIRED > <!ELEMENT indexKey (#PCDATA)> <!ELEMENT indexElement (#PCDATA)> <!ELEMENT options (#PCDATA)> <!ELEMENT type (#PCDATA)>
public String getXMLAsString()
<!ELEMENT index(indexKey, indexElement, options, type, tokenizer?)> <!ATTLIST index name CDATA #REQUIRED > <!ELEMENT indexKey (#PCDATA)> <!ELEMENT indexElement (#PCDATA)> <!ELEMENT options (#PCDATA)> <!ELEMENT type (#PCDATA)>
public boolean equals(Object obj)
equals in class Objectobj - the object to compare.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||