|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.dom.element.OdfElement
org.odftoolkit.odfdom.dom.element.db.OdfKeyElement
public abstract class OdfKeyElement
DOM implementation of OpenDocument element db:key.
| Field Summary | |
|---|---|
static OdfName |
ELEMENT_NAME
|
| Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
mOdfDocument |
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
OdfKeyElement(OdfFileDom aOwnerDoc)
Create the instance of OdfKeyElement |
|
| Method Summary | |
|---|---|
OdfKeyColumnsElement |
createKeyColumnsElement()
Create child element db:key-columns. |
OdfDeleteRuleType |
getDeleteRule()
Get value of attribute db:delete-rule. |
String |
getName()
Get value of attribute db:name. |
OdfName |
getOdfName()
Get the element name |
String |
getReferencedTableName()
Get value of attribute db:referenced-table-name. |
OdfType |
getType()
Get value of attribute db:type. |
OdfUpdateRuleType |
getUpdateRule()
Get value of attribute db:update-rule. |
void |
init(OdfType type)
Initialization of the mandatory attributes of OdfKeyElement |
void |
setDeleteRule(OdfDeleteRuleType deleteRule)
Set value of attribute db:delete-rule. |
void |
setName(String name)
Set value of attribute db:name. |
void |
setReferencedTableName(String referencedTableName)
Set value of attribute db:referenced-table-name. |
void |
setType(OdfType type)
Set value of attribute db:type. |
void |
setUpdateRule(OdfUpdateRuleType updateRule)
Set value of attribute db:update-rule. |
| Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfElement |
|---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, toString |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
| Field Detail |
|---|
public static final OdfName ELEMENT_NAME
| Constructor Detail |
|---|
public OdfKeyElement(OdfFileDom aOwnerDoc)
aOwnerDoc - The type is OdfFileDom| Method Detail |
|---|
public OdfName getOdfName()
getOdfName in class OdfElementpublic void init(OdfType type)
OdfKeyElement
type - The mandatory attribute db:type"public String getName()
public void setName(String name)
name - the attribute's type is Stringpublic OdfType getType()
public void setType(OdfType type)
type - the attribute's type is OdfTypepublic String getReferencedTableName()
public void setReferencedTableName(String referencedTableName)
referencedTableName - the attribute's type is Stringpublic OdfUpdateRuleType getUpdateRule()
public void setUpdateRule(OdfUpdateRuleType updateRule)
updateRule - the attribute's type is OdfUpdateRuleTypepublic OdfDeleteRuleType getDeleteRule()
public void setDeleteRule(OdfDeleteRuleType deleteRule)
deleteRule - the attribute's type is OdfDeleteRuleTypepublic OdfKeyColumnsElement createKeyColumnsElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||