Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enhydra.xml.xmlc.metadata
Class URLMapping  view URLMapping download URLMapping.java

java.lang.Object
  extended byorg.apache.xerces.dom.NodeImpl
      extended byorg.apache.xerces.dom.ChildNode
          extended byorg.apache.xerces.dom.ParentNode
              extended byorg.apache.xerces.dom.ElementImpl
                  extended byorg.enhydra.xml.xmlc.metadata.MetaDataElement
                      extended byorg.enhydra.xml.xmlc.metadata.ElementEdit
                          extended byorg.enhydra.xml.xmlc.metadata.URLEdit
                              extended byorg.enhydra.xml.xmlc.metadata.URLMapping
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, java.io.Serializable, org.apache.xerces.dom3.TypeInfo

public class URLMapping
extends URLEdit

Specifies the literal replacement of URLs in element attributes. When used in the <domEdits> section, it applies globally to elements. When use in a element or sub-document, it applies only to that context.


Field Summary
private static java.lang.String NEW_URL_ATTR
           
static java.lang.String TAG_NAME
          Element name.
private static java.lang.String URL_ATTR
          Attribute names.
 
Fields inherited from class org.enhydra.xml.xmlc.metadata.URLEdit
 
Fields inherited from class org.enhydra.xml.xmlc.metadata.ElementEdit
 
Fields inherited from class org.enhydra.xml.xmlc.metadata.MetaDataElement
 
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 class org.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
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
 
Fields inherited from interface org.apache.xerces.dom3.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
URLMapping(org.w3c.dom.Document ownerDoc)
          Constructor.
 
Method Summary
 java.lang.String getNewUrl()
          Get the newUrl attribute value.
 java.lang.String getUrl()
          Get the url attribute value.
 void setNewUrl(java.lang.String value)
          Set the newUrl attribute value.
 void setUrl(java.lang.String value)
          Set the url attribute value.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.URLEdit
addEditAttrs, completeModifications, getEditAttrs, matchesEditAttrConstraints, setEditAttrs
 
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, getBaseURI, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, 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, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, 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, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, isSupported, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
Element name.

See Also:
Constant Field Values

URL_ATTR

private static final java.lang.String URL_ATTR
Attribute names.

See Also:
Constant Field Values

NEW_URL_ATTR

private static final java.lang.String NEW_URL_ATTR
See Also:
Constant Field Values
Constructor Detail

URLMapping

public URLMapping(org.w3c.dom.Document ownerDoc)
Constructor.

Method Detail

getUrl

public java.lang.String getUrl()
Get the url attribute value.


setUrl

public void setUrl(java.lang.String value)
Set the url attribute value.


getNewUrl

public java.lang.String getNewUrl()
Get the newUrl attribute value.


setNewUrl

public void setNewUrl(java.lang.String value)
Set the newUrl attribute value.