com.evolveum.midpoint.prism.dom
Class ElementPrismPropertyImpl<T>
java.lang.Object
com.evolveum.midpoint.prism.dom.ElementPrismAbstractImpl
com.evolveum.midpoint.prism.dom.ElementPrismPropertyImpl<T>
- All Implemented Interfaces:
- org.w3c.dom.Element, org.w3c.dom.Node
public class ElementPrismPropertyImpl<T>
- extends ElementPrismAbstractImpl
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
|
Method Summary |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
java.lang.String |
getAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
getAttributeNode(java.lang.String name)
|
org.w3c.dom.Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
org.w3c.dom.NamedNodeMap |
getAttributes()
|
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String name)
|
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
|
protected PrismProperty |
getProperty()
|
java.lang.String |
getTextContent()
|
protected PrismPropertyValue |
getValue()
|
protected org.w3c.dom.NodeList |
getValueNodeList()
|
boolean |
hasAttribute(java.lang.String name)
|
boolean |
hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
boolean |
hasChildNodes()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
|
void |
removeAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
removeAttributeNode(org.w3c.dom.Attr oldAttr)
|
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
|
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
|
void |
setAttribute(java.lang.String name,
java.lang.String value)
|
org.w3c.dom.Attr |
setAttributeNode(org.w3c.dom.Attr newAttr)
|
org.w3c.dom.Attr |
setAttributeNodeNS(org.w3c.dom.Attr newAttr)
|
void |
setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
|
void |
setIdAttribute(java.lang.String name,
boolean isId)
|
void |
setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
|
void |
setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
|
| Methods inherited from class com.evolveum.midpoint.prism.dom.ElementPrismAbstractImpl |
compareDocumentPosition, getAttributeMap, getBaseURI, getChildNodes, getElementName, getFeature, getFirstChild, getItem, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getPrismContext, getSchemaTypeInfo, getTagName, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setNodeValue, setPrefix, setTextContent, setUserData, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ElementPrismPropertyImpl
public ElementPrismPropertyImpl(PrismPropertyValue value)
getValue
protected PrismPropertyValue getValue()
- Overrides:
getValue in class ElementPrismAbstractImpl
getProperty
protected PrismProperty getProperty()
getTextContent
public java.lang.String getTextContent()
throws org.w3c.dom.DOMException
- Specified by:
getTextContent in interface org.w3c.dom.Node- Specified by:
getTextContent in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
getValueNodeList
protected org.w3c.dom.NodeList getValueNodeList()
- Specified by:
getValueNodeList in class ElementPrismAbstractImpl
getElementsByTagName
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
- Specified by:
getElementsByTagName in interface org.w3c.dom.Element- Specified by:
getElementsByTagName in class ElementPrismAbstractImpl
getElementsByTagNameNS
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
- Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Element- Specified by:
getElementsByTagNameNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
insertBefore
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
throws org.w3c.dom.DOMException
- Specified by:
insertBefore in interface org.w3c.dom.Node- Specified by:
insertBefore in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
replaceChild
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
throws org.w3c.dom.DOMException
- Specified by:
replaceChild in interface org.w3c.dom.Node- Specified by:
replaceChild in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
removeChild
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
throws org.w3c.dom.DOMException
- Specified by:
removeChild in interface org.w3c.dom.Node- Specified by:
removeChild in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
appendChild
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
throws org.w3c.dom.DOMException
- Specified by:
appendChild in interface org.w3c.dom.Node- Specified by:
appendChild in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes in interface org.w3c.dom.Node- Specified by:
hasChildNodes in class ElementPrismAbstractImpl
cloneNode
public org.w3c.dom.Node cloneNode(boolean deep)
- Specified by:
cloneNode in interface org.w3c.dom.Node- Specified by:
cloneNode in class ElementPrismAbstractImpl
getAttributes
public org.w3c.dom.NamedNodeMap getAttributes()
- Specified by:
getAttributes in interface org.w3c.dom.Node- Overrides:
getAttributes in class ElementPrismAbstractImpl
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface org.w3c.dom.Element- Overrides:
getAttribute in class ElementPrismAbstractImpl
setAttribute
public void setAttribute(java.lang.String name,
java.lang.String value)
throws org.w3c.dom.DOMException
- Specified by:
setAttribute in interface org.w3c.dom.Element- Overrides:
setAttribute in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
removeAttribute
public void removeAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
- Specified by:
removeAttribute in interface org.w3c.dom.Element- Overrides:
removeAttribute in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
getAttributeNode
public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
- Specified by:
getAttributeNode in interface org.w3c.dom.Element- Overrides:
getAttributeNode in class ElementPrismAbstractImpl
setAttributeNode
public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
throws org.w3c.dom.DOMException
- Specified by:
setAttributeNode in interface org.w3c.dom.Element- Overrides:
setAttributeNode in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
removeAttributeNode
public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr)
throws org.w3c.dom.DOMException
- Specified by:
removeAttributeNode in interface org.w3c.dom.Element- Overrides:
removeAttributeNode in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
getAttributeNS
public java.lang.String getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
- Specified by:
getAttributeNS in interface org.w3c.dom.Element- Overrides:
getAttributeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
setAttributeNS
public void setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
throws org.w3c.dom.DOMException
- Specified by:
setAttributeNS in interface org.w3c.dom.Element- Overrides:
setAttributeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
removeAttributeNS
public void removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
- Specified by:
removeAttributeNS in interface org.w3c.dom.Element- Overrides:
removeAttributeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
getAttributeNodeNS
public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
- Specified by:
getAttributeNodeNS in interface org.w3c.dom.Element- Overrides:
getAttributeNodeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
setAttributeNodeNS
public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr newAttr)
throws org.w3c.dom.DOMException
- Specified by:
setAttributeNodeNS in interface org.w3c.dom.Element- Overrides:
setAttributeNodeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
hasAttribute
public boolean hasAttribute(java.lang.String name)
- Specified by:
hasAttribute in interface org.w3c.dom.Element- Overrides:
hasAttribute in class ElementPrismAbstractImpl
hasAttributeNS
public boolean hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
- Specified by:
hasAttributeNS in interface org.w3c.dom.Element- Overrides:
hasAttributeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
setIdAttribute
public void setIdAttribute(java.lang.String name,
boolean isId)
throws org.w3c.dom.DOMException
- Specified by:
setIdAttribute in interface org.w3c.dom.Element- Overrides:
setIdAttribute in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
setIdAttributeNS
public void setIdAttributeNS(java.lang.String namespaceURI,
java.lang.String localName,
boolean isId)
throws org.w3c.dom.DOMException
- Specified by:
setIdAttributeNS in interface org.w3c.dom.Element- Overrides:
setIdAttributeNS in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
setIdAttributeNode
public void setIdAttributeNode(org.w3c.dom.Attr idAttr,
boolean isId)
throws org.w3c.dom.DOMException
- Specified by:
setIdAttributeNode in interface org.w3c.dom.Element- Overrides:
setIdAttributeNode in class ElementPrismAbstractImpl
- Throws:
org.w3c.dom.DOMException
Copyright © 2012 evolveum. All Rights Reserved.