org.enhydra.xml.xmlc.metadata
Class ElementDef

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.NodeImpl
        |
        +--org.enhydra.apache.xerces.dom.ChildNode
              |
              +--org.enhydra.apache.xerces.dom.ParentNode
                    |
                    +--org.enhydra.apache.xerces.dom.ElementImpl
                          |
                          +--org.enhydra.xml.xmlc.metadata.MetaDataElement
                                |
                                +--org.enhydra.xml.xmlc.metadata.ElementDef
All Implemented Interfaces:
Cloneable, Element, EventTarget, Node, NodeList, Serializable

public class ElementDef
extends MetaDataElement

Define a particular element in the document. An <elementDef> uniquely address a particular element in the document.

See Also:
Serialized Form

Field Summary
static String TAG_NAME
          Element name.
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name, serialVersionUID
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
ElementDef(Document ownerDoc)
          Constructor.
 
Method Summary
 void addElementDef(ElementDef elementDef)
          Add a ElementDef child element.
 void deleteElementDef(ElementDef elementDef)
          Delete a ElementDef child element.
 Boolean getCreateGetElement()
          Get the createGetElement attribute value.
 Boolean getCreateSetText()
          Get the createSetText attribute value.
 String getDomType()
          Get the domType attribute value.
 ElementDef[] getElementDef()
          Get the ElementDef child elements.
 String getElementId()
          Get the elementId attribute value.
 String getJavaName()
          Get the javaName attribute value.
 boolean getOptional()
          Get the optional attribute value.
 String[] getTagNames()
          Get the tagNames attribute value.
 void setCreateGetElement(Boolean value)
          Set the createGetElement attribute value.
 void setCreateSetText(Boolean value)
          Set the createSetText attribute value.
 void setDomType(String value)
          Set the domType attribute value.
 void setElementId(String value)
          Set the elementId attribute value.
 void setJavaName(String value)
          Set the javaName attribute value.
 void setOptional(boolean value)
          Set the optional attribute value.
 void setTagNames(String[] values)
          Set the tagNames attribute value.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.MetaDataElement
addStringArrayAttribute, completeModifications, deleteChild, getAttributeNull, getBooleanAttribute, getBooleanAttribute, getBooleanObjectAttribute, getChild, getChildren, getCreateChild, getDocument, getMetaData, getStringArrayAttribute, isAttributeSpecified, mergeAttributes, mergeElement, mergeSingletonChild, setBooleanAttribute, setBooleanAttribute, setBooleanObjectAttribute, setChild, setRemoveAttribute, setRemoveStringArrayAttribute
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, setTextContent, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Element name.
Constructor Detail

ElementDef

public ElementDef(Document ownerDoc)
Constructor.
Method Detail

getElementId

public String getElementId()
Get the elementId attribute value.

setElementId

public void setElementId(String value)
Set the elementId attribute value.

getTagNames

public String[] getTagNames()
Get the tagNames attribute value.

setTagNames

public void setTagNames(String[] values)
Set the tagNames attribute value.

getDomType

public String getDomType()
Get the domType attribute value.

setDomType

public void setDomType(String value)
Set the domType attribute value.

getJavaName

public String getJavaName()
Get the javaName attribute value.

setJavaName

public void setJavaName(String value)
Set the javaName attribute value.

getCreateSetText

public Boolean getCreateSetText()
Get the createSetText attribute value.

setCreateSetText

public void setCreateSetText(Boolean value)
Set the createSetText attribute value.

getCreateGetElement

public Boolean getCreateGetElement()
Get the createGetElement attribute value.

setCreateGetElement

public void setCreateGetElement(Boolean value)
Set the createGetElement attribute value.

getOptional

public boolean getOptional()
Get the optional attribute value.

setOptional

public void setOptional(boolean value)
Set the optional attribute value.

getElementDef

public ElementDef[] getElementDef()
Get the ElementDef child elements.

addElementDef

public void addElementDef(ElementDef elementDef)
Add a ElementDef child element.

deleteElementDef

public void deleteElementDef(ElementDef elementDef)
Delete a ElementDef child element.


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.