com.evolveum.midpoint.prism.dom
Class ElementPrismPropertyImpl<T>

java.lang.Object
  extended by com.evolveum.midpoint.prism.dom.ElementPrismAbstractImpl
      extended by com.evolveum.midpoint.prism.dom.ElementPrismPropertyImpl<T>
All Implemented Interfaces:
Element, Node

public class ElementPrismPropertyImpl<T>
extends ElementPrismAbstractImpl


Field Summary
 
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
 
Constructor Summary
ElementPrismPropertyImpl(PrismPropertyValue value)
           
 
Method Summary
 Node appendChild(Node newChild)
           
 Node cloneNode(boolean deep)
           
 String getAttribute(String name)
           
 Attr getAttributeNode(String name)
           
 Attr getAttributeNodeNS(String namespaceURI, String localName)
           
 String getAttributeNS(String namespaceURI, String localName)
           
 NamedNodeMap getAttributes()
           
 NodeList getElementsByTagName(String name)
           
 NodeList getElementsByTagNameNS(String namespaceURI, String localName)
           
protected  PrismProperty getProperty()
           
 String getTextContent()
           
protected  PrismPropertyValue getValue()
           
protected  NodeList getValueNodeList()
           
 boolean hasAttribute(String name)
           
 boolean hasAttributeNS(String namespaceURI, String localName)
           
 boolean hasChildNodes()
           
 Node insertBefore(Node newChild, Node refChild)
           
 void removeAttribute(String name)
           
 Attr removeAttributeNode(Attr oldAttr)
           
 void removeAttributeNS(String namespaceURI, String localName)
           
 Node removeChild(Node oldChild)
           
 Node replaceChild(Node newChild, Node oldChild)
           
 void setAttribute(String name, String value)
           
 Attr setAttributeNode(Attr newAttr)
           
 Attr setAttributeNodeNS(Attr newAttr)
           
 void setAttributeNS(String namespaceURI, String qualifiedName, String value)
           
 void setIdAttribute(String name, boolean isId)
           
 void setIdAttributeNode(Attr idAttr, boolean isId)
           
 void setIdAttributeNS(String namespaceURI, 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
 

Constructor Detail

ElementPrismPropertyImpl

public ElementPrismPropertyImpl(PrismPropertyValue value)
Method Detail

getValue

protected PrismPropertyValue getValue()
Overrides:
getValue in class ElementPrismAbstractImpl

getProperty

protected PrismProperty getProperty()

getTextContent

public String getTextContent()
                      throws DOMException
Specified by:
getTextContent in interface Node
Specified by:
getTextContent in class ElementPrismAbstractImpl
Throws:
DOMException

getValueNodeList

protected NodeList getValueNodeList()
Specified by:
getValueNodeList in class ElementPrismAbstractImpl

getElementsByTagName

public NodeList getElementsByTagName(String name)
Specified by:
getElementsByTagName in interface Element
Specified by:
getElementsByTagName in class ElementPrismAbstractImpl

getElementsByTagNameNS

public NodeList getElementsByTagNameNS(String namespaceURI,
                                       String localName)
                                throws DOMException
Specified by:
getElementsByTagNameNS in interface Element
Specified by:
getElementsByTagNameNS in class ElementPrismAbstractImpl
Throws:
DOMException

insertBefore

public Node insertBefore(Node newChild,
                         Node refChild)
                  throws DOMException
Specified by:
insertBefore in interface Node
Specified by:
insertBefore in class ElementPrismAbstractImpl
Throws:
DOMException

replaceChild

public Node replaceChild(Node newChild,
                         Node oldChild)
                  throws DOMException
Specified by:
replaceChild in interface Node
Specified by:
replaceChild in class ElementPrismAbstractImpl
Throws:
DOMException

removeChild

public Node removeChild(Node oldChild)
                 throws DOMException
Specified by:
removeChild in interface Node
Specified by:
removeChild in class ElementPrismAbstractImpl
Throws:
DOMException

appendChild

public Node appendChild(Node newChild)
                 throws DOMException
Specified by:
appendChild in interface Node
Specified by:
appendChild in class ElementPrismAbstractImpl
Throws:
DOMException

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface Node
Specified by:
hasChildNodes in class ElementPrismAbstractImpl

cloneNode

public Node cloneNode(boolean deep)
Specified by:
cloneNode in interface Node
Specified by:
cloneNode in class ElementPrismAbstractImpl

getAttributes

public NamedNodeMap getAttributes()
Specified by:
getAttributes in interface Node
Overrides:
getAttributes in class ElementPrismAbstractImpl

getAttribute

public String getAttribute(String name)
Specified by:
getAttribute in interface Element
Overrides:
getAttribute in class ElementPrismAbstractImpl

setAttribute

public void setAttribute(String name,
                         String value)
                  throws DOMException
Specified by:
setAttribute in interface Element
Overrides:
setAttribute in class ElementPrismAbstractImpl
Throws:
DOMException

removeAttribute

public void removeAttribute(String name)
                     throws DOMException
Specified by:
removeAttribute in interface Element
Overrides:
removeAttribute in class ElementPrismAbstractImpl
Throws:
DOMException

getAttributeNode

public Attr getAttributeNode(String name)
Specified by:
getAttributeNode in interface Element
Overrides:
getAttributeNode in class ElementPrismAbstractImpl

setAttributeNode

public Attr setAttributeNode(Attr newAttr)
                      throws DOMException
Specified by:
setAttributeNode in interface Element
Overrides:
setAttributeNode in class ElementPrismAbstractImpl
Throws:
DOMException

removeAttributeNode

public Attr removeAttributeNode(Attr oldAttr)
                         throws DOMException
Specified by:
removeAttributeNode in interface Element
Overrides:
removeAttributeNode in class ElementPrismAbstractImpl
Throws:
DOMException

getAttributeNS

public String getAttributeNS(String namespaceURI,
                             String localName)
                      throws DOMException
Specified by:
getAttributeNS in interface Element
Overrides:
getAttributeNS in class ElementPrismAbstractImpl
Throws:
DOMException

setAttributeNS

public void setAttributeNS(String namespaceURI,
                           String qualifiedName,
                           String value)
                    throws DOMException
Specified by:
setAttributeNS in interface Element
Overrides:
setAttributeNS in class ElementPrismAbstractImpl
Throws:
DOMException

removeAttributeNS

public void removeAttributeNS(String namespaceURI,
                              String localName)
                       throws DOMException
Specified by:
removeAttributeNS in interface Element
Overrides:
removeAttributeNS in class ElementPrismAbstractImpl
Throws:
DOMException

getAttributeNodeNS

public Attr getAttributeNodeNS(String namespaceURI,
                               String localName)
                        throws DOMException
Specified by:
getAttributeNodeNS in interface Element
Overrides:
getAttributeNodeNS in class ElementPrismAbstractImpl
Throws:
DOMException

setAttributeNodeNS

public Attr setAttributeNodeNS(Attr newAttr)
                        throws DOMException
Specified by:
setAttributeNodeNS in interface Element
Overrides:
setAttributeNodeNS in class ElementPrismAbstractImpl
Throws:
DOMException

hasAttribute

public boolean hasAttribute(String name)
Specified by:
hasAttribute in interface Element
Overrides:
hasAttribute in class ElementPrismAbstractImpl

hasAttributeNS

public boolean hasAttributeNS(String namespaceURI,
                              String localName)
                       throws DOMException
Specified by:
hasAttributeNS in interface Element
Overrides:
hasAttributeNS in class ElementPrismAbstractImpl
Throws:
DOMException

setIdAttribute

public void setIdAttribute(String name,
                           boolean isId)
                    throws DOMException
Specified by:
setIdAttribute in interface Element
Overrides:
setIdAttribute in class ElementPrismAbstractImpl
Throws:
DOMException

setIdAttributeNS

public void setIdAttributeNS(String namespaceURI,
                             String localName,
                             boolean isId)
                      throws DOMException
Specified by:
setIdAttributeNS in interface Element
Overrides:
setIdAttributeNS in class ElementPrismAbstractImpl
Throws:
DOMException

setIdAttributeNode

public void setIdAttributeNode(Attr idAttr,
                               boolean isId)
                        throws DOMException
Specified by:
setIdAttributeNode in interface Element
Overrides:
setIdAttributeNode in class ElementPrismAbstractImpl
Throws:
DOMException


Copyright © 2013 evolveum. All Rights Reserved.