|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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.
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 |
Constructor Summary | |
ElementEdit(Document ownerDoc,
String tagName)
Constructor. |
Method Summary | |
void |
addElementClass(String value)
Add a class to the elementClasses attribute value. |
void |
addElementId(String value)
Add an element ID to the elementIds attribute value. |
void |
addElementTag(String value)
Add an element to the elementTags attribute value. |
protected void |
completeModifications()
Complete modifications to DOM. |
String[] |
getElementClasses()
Get the elementClasses attribute value. |
String[] |
getElementIds()
Get the elementIds attribute value. |
String[] |
getElementTags()
Get the elementTags attribute value. |
boolean |
matchesElementClassConstraints(String elementClass)
Determine if an element class matches the element class constraints on this object. |
boolean |
matchesElementIdConstraints(String id)
Determine if an id matches the element id constraints on this object. |
boolean |
matchesElementTagConstraints(String tagName,
boolean ignoreCase)
Determine if a tag name matches the element tag name constraints on this object. |
void |
setElementClasses(String[] values)
Set the elementClasses attribute value. |
void |
setElementIds(String[] values)
Set the elementIds attribute value. |
void |
setElementTags(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, 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 |
|
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 |
Constructor Detail |
public ElementEdit(Document ownerDoc, String tagName)
Method Detail |
public String[] getElementIds()
public void setElementIds(String[] values)
public void addElementId(String value)
public boolean matchesElementIdConstraints(String id)
public String[] getElementClasses()
public void setElementClasses(String[] values)
public void addElementClass(String value)
public boolean matchesElementClassConstraints(String elementClass)
public String[] getElementTags()
public void setElementTags(String[] values)
public void addElementTag(String value)
public boolean matchesElementTagConstraints(String tagName, boolean ignoreCase)
protected void completeModifications() throws XMLCException
completeModifications
in class MetaDataElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |