com.caucho.quercus.lib.dom
Class DOMElement

java.lang.Object
  extended by com.caucho.quercus.lib.dom.DOMWrapper<T>
      extended by com.caucho.quercus.lib.dom.DOMNode<org.w3c.dom.Element>
          extended by com.caucho.quercus.lib.dom.DOMElement

public class DOMElement
extends DOMNode<org.w3c.dom.Element>


Method Summary
static DOMElement __construct(Env env, java.lang.String name, java.lang.String textContent, java.lang.String namespace)
           
 java.lang.String getAttribute(java.lang.String name)
           
 DOMAttr getAttributeNode(java.lang.String name)
           
 DOMAttr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 DOMNodeList getElementsByTagName(java.lang.String name)
           
 DOMNodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getNodeValue()
           
 DOMTypeInfo getSchemaTypeInfo()
           
 java.lang.String getTagName()
           
 boolean hasAttribute(java.lang.String name)
           
 boolean hasAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 void removeAttribute(java.lang.String name)
           
 DOMAttr removeAttributeNode(DOMAttr oldAttr)
           
 void removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 void setAttribute(java.lang.String name, java.lang.String value)
           
 DOMAttr setAttributeNode(DOMAttr newAttr)
           
 DOMAttr setAttributeNodeNS(DOMAttr 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(DOMAttr idAttr, boolean isId)
           
 void setIdAttributeNS(java.lang.String namespaceURI, java.lang.String localName, boolean isId)
           
 void setNodeValue(java.lang.String nodeValue)
           
 
Methods inherited from class com.caucho.quercus.lib.dom.DOMNode
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData, toString
 
Methods inherited from class com.caucho.quercus.lib.dom.DOMWrapper
getImpl, getImpl, wrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

__construct

public static DOMElement __construct(Env env,
                                     java.lang.String name,
                                     java.lang.String textContent,
                                     java.lang.String namespace)

getNodeValue

public java.lang.String getNodeValue()
                              throws DOMException
Overrides:
getNodeValue in class DOMNode<org.w3c.dom.Element>
Throws:
DOMException

getAttribute

public java.lang.String getAttribute(java.lang.String name)

getAttributeNS

public java.lang.String getAttributeNS(java.lang.String namespaceURI,
                                       java.lang.String localName)
                                throws DOMException
Throws:
DOMException

getAttributeNode

public DOMAttr getAttributeNode(java.lang.String name)

getAttributeNodeNS

public DOMAttr getAttributeNodeNS(java.lang.String namespaceURI,
                                  java.lang.String localName)
                           throws DOMException
Throws:
DOMException

getElementsByTagName

public DOMNodeList getElementsByTagName(java.lang.String name)

getElementsByTagNameNS

public DOMNodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                          java.lang.String localName)
                                   throws DOMException
Throws:
DOMException

getSchemaTypeInfo

public DOMTypeInfo getSchemaTypeInfo()

getTagName

public java.lang.String getTagName()

hasAttribute

public boolean hasAttribute(java.lang.String name)

hasAttributeNS

public boolean hasAttributeNS(java.lang.String namespaceURI,
                              java.lang.String localName)
                       throws DOMException
Throws:
DOMException

removeAttribute

public void removeAttribute(java.lang.String name)
                     throws DOMException
Throws:
DOMException

removeAttributeNS

public void removeAttributeNS(java.lang.String namespaceURI,
                              java.lang.String localName)
                       throws DOMException
Throws:
DOMException

removeAttributeNode

public DOMAttr removeAttributeNode(DOMAttr oldAttr)
                            throws DOMException
Throws:
DOMException

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
                  throws DOMException
Throws:
DOMException

setAttributeNS

public void setAttributeNS(java.lang.String namespaceURI,
                           java.lang.String qualifiedName,
                           java.lang.String value)
                    throws DOMException
Throws:
DOMException

setAttributeNode

public DOMAttr setAttributeNode(DOMAttr newAttr)
                         throws DOMException
Throws:
DOMException

setAttributeNodeNS

public DOMAttr setAttributeNodeNS(DOMAttr newAttr)
                           throws DOMException
Throws:
DOMException

setIdAttribute

public void setIdAttribute(java.lang.String name,
                           boolean isId)
                    throws DOMException
Throws:
DOMException

setIdAttributeNS

public void setIdAttributeNS(java.lang.String namespaceURI,
                             java.lang.String localName,
                             boolean isId)
                      throws DOMException
Throws:
DOMException

setIdAttributeNode

public void setIdAttributeNode(DOMAttr idAttr,
                               boolean isId)
                        throws DOMException
Throws:
DOMException

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
                  throws DOMException
Overrides:
setNodeValue in class DOMNode<org.w3c.dom.Element>
Throws:
DOMException