|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.ElementEdit
Abstract type used as a base for all element editing definitions. This provides for the definition of which attributes and elements are to be operated on by the derived edit definitions.
Field Summary |
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
attributes, name |
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_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
ElementEdit(org.w3c.dom.Document ownerDoc,
java.lang.String tagName)
Constructor. |
Method Summary | |
void |
addElementClass(java.lang.String value)
Add a class to the elementClasses attribute value. |
void |
addElementId(java.lang.String value)
Add an element ID to the elementIds attribute value. |
void |
addElementTag(java.lang.String value)
Add an element to the elementTags attribute value. |
protected void |
completeModifications()
Complete modifications to DOM. |
java.lang.String[] |
getElementClasses()
Get the elementClasses attribute value. |
java.lang.String[] |
getElementIds()
Get the elementIds attribute value. |
java.lang.String[] |
getElementTags()
Get the elementTags attribute value. |
boolean |
matchesElementClassConstraints(java.lang.String elementClass)
Determine if an element class matches the element class constraints on this object. |
boolean |
matchesElementIdConstraints(java.lang.String id)
Determine if an id matches the element id constraints on this object. |
boolean |
matchesElementTagConstraints(java.lang.String tagName,
boolean ignoreCase)
Determine if a tag name matches the element tag name constraints on this object. |
void |
setElementClasses(java.lang.String[] values)
Set the elementClasses attribute value. |
void |
setElementIds(java.lang.String[] values)
Set the elementIds attribute value. |
void |
setElementTags(java.lang.String[] values)
Set the elementTags attribute value. |
Methods inherited from class org.enhydra.xml.xmlc.metadata.MetaDataElement |
addStringArrayAttribute, 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, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, item, removeChild, replaceChild, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, dispatchEvent, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, isSupported, removeEventListener, setNodeValue, setPrefix, 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, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, isSupported, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
public ElementEdit(org.w3c.dom.Document ownerDoc, java.lang.String tagName)
Method Detail |
public java.lang.String[] getElementIds()
public void setElementIds(java.lang.String[] values)
public void addElementId(java.lang.String value)
public boolean matchesElementIdConstraints(java.lang.String id)
public java.lang.String[] getElementClasses()
public void setElementClasses(java.lang.String[] values)
public void addElementClass(java.lang.String value)
public boolean matchesElementClassConstraints(java.lang.String elementClass)
public java.lang.String[] getElementTags()
public void setElementTags(java.lang.String[] values)
public void addElementTag(java.lang.String value)
public boolean matchesElementTagConstraints(java.lang.String tagName, boolean ignoreCase)
protected void completeModifications() throws XMLCException
completeModifications
in class MetaDataElement
XMLCException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |