org.enhydra.xml.xmlc.metadata
Class URLEdit
java.lang.Object
|
+--org.apache.xerces.dom.NodeImpl
|
+--org.apache.xerces.dom.ChildNode
|
+--org.apache.xerces.dom.ParentNode
|
+--org.apache.xerces.dom.ElementImpl
|
+--org.enhydra.xml.xmlc.metadata.MetaDataElement
|
+--org.enhydra.xml.xmlc.metadata.ElementEdit
|
+--org.enhydra.xml.xmlc.metadata.URLEdit
- All Implemented Interfaces:
- java.lang.Cloneable, Element, EventTarget, Node, NodeList, java.io.Serializable
- Direct Known Subclasses:
- URLMapping, URLRegExpMapping
- public abstract class URLEdit
- extends ElementEdit
Abstract type uses as a base for all URL editing definition.
- See Also:
- Serialized Form
Fields inherited from class org.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 |
protected |
URLEdit(Document ownerDoc,
java.lang.String tagName)
Constructor. |
Method Summary |
void |
addEditAttrs(java.lang.String value)
Add an attribute name to the editAttr attribute value. |
protected void |
completeModifications()
Complete modifications to DOM. |
java.lang.String[] |
getEditAttrs()
Get the editAttrs value. |
boolean |
matchesEditAttrConstraints(java.lang.String attrName,
boolean ignoreCase)
Determine if an id matches the element id constraints on
this object. |
void |
setEditAttrs(java.lang.String[] values)
Set the editAttrs attribute value. |
Methods inherited from class org.enhydra.xml.xmlc.metadata.ElementEdit |
addElementClass, addElementId, addElementTag, getElementClasses, getElementIds, getElementTags, matchesElementClassConstraints, matchesElementIdConstraints, matchesElementTagConstraints, setElementClasses, setElementIds, setElementTags |
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.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.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, item, removeChild, replaceChild, synchronizeChildren |
Methods inherited from class org.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 |
URLEdit
protected URLEdit(Document ownerDoc,
java.lang.String tagName)
- Constructor.
getEditAttrs
public java.lang.String[] getEditAttrs()
- Get the editAttrs value.
setEditAttrs
public void setEditAttrs(java.lang.String[] values)
- Set the editAttrs attribute value.
addEditAttrs
public void addEditAttrs(java.lang.String value)
- Add an attribute name to the editAttr attribute value.
matchesEditAttrConstraints
public boolean matchesEditAttrConstraints(java.lang.String attrName,
boolean ignoreCase)
- Determine if an id matches the element id constraints on
this object. If there are no id constraints, all elements
match.
completeModifications
protected void completeModifications()
throws XMLCException
- Complete modifications to DOM. This clears cache of parsed
attributes.
- Overrides:
completeModifications
in class ElementEdit
XMLCException
- See Also:
MetaDataElement.completeModifications()