public abstract class LocalizedURI extends XMLElement
LocalizedURI
metadata element.Modifier | Constructor and Description |
---|---|
protected |
LocalizedURI(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
LocalizedURI instance. |
|
LocalizedURI(org.w3c.dom.Element element)
Creates a new
LocalizedURI instance from the given Element node. |
|
LocalizedURI(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
LocalizedURI instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLanguage()
Returns the "xml:lang" attribute value.
|
java.lang.String |
getURI()
Returns the URI value.
|
void |
setLanguage(java.lang.String lang)
Sets the "xml:lang" attribute value.
|
void |
setURI(java.lang.String uri)
Sets the URI value.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public LocalizedURI(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
LocalizedURI
instance from the given Element node.element
- An LocalizedURI element.org.w3c.dom.DOMException
public LocalizedURI(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
LocalizedURI
instance from the given Element node.element
- An LocalizedURI element.systemId
- The URI string system ID for the LocalizedURI
.org.w3c.dom.DOMException
protected LocalizedURI(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
LocalizedURI
instance. This constructor is for use in subclass for extension of the LocalizedURI element.owner
- The owner document of the new LocalizedURI.nsURI
- The namespace URI in which the new LocalizedURI is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
public void setLanguage(java.lang.String lang)
lang
- A valid language String.public java.lang.String getLanguage()
public void setURI(java.lang.String uri)
uri
- A uri String.public java.lang.String getURI()