| java.lang.Object com.caucho.xml.QAbstractNode com.caucho.xml.QNode com.caucho.xml.QAttributedNode com.caucho.xml.QElement
QElement | public QElement()(Code) | | Create a new element.
|
QElement | public QElement(String name)(Code) | | Create a new named element.
Parameters: name - the element's name. |
QElement | public QElement(String name, String namespace)(Code) | | Create a new named element.
Parameters: name - the element's name. |
QElement | public QElement(QName name)(Code) | | Create a new named element.
Parameters: name - the element's name. |
QElement | QElement(QName name, HashMap attributes)(Code) | | Create a new named element with initial parameters.
Parameters: name - the element's name. Parameters: attributes - the element's attributes. |
addNamespace | void addNamespace(QName name)(Code) | | Adds the name to the global namespace, if possible.
|
appendChild | public Node appendChild(Node child) throws DOMException(Code) | | Appends a new node as the last child of the element.
Parameters: child - the new child. the child. |
equals | public boolean equals(Node arg, boolean deep)(Code) | | |
getCanonicalName | public String getCanonicalName()(Code) | | Returns the canonical name of the element.
|
getElementsByTagName | public NodeList getElementsByTagName(String tagName)(Code) | | Returns a list of elements, given a tag name.
|
getElementsByTagNameNS | public NodeList getElementsByTagNameNS(String uri, String name)(Code) | | Returns a list of elements, given a namespace and a local name.
|
getLocalName | public String getLocalName()(Code) | | Returns the local part of the element's name.
|
getNamespace | public String getNamespace(String prefix)(Code) | | Given a prefix, returns the namespace in effect at this element.
Parameters: prefix - the prefix to test. the namespace URL matching the prefix or null. |
getNamespaceURI | public String getNamespaceURI()(Code) | | Returns the namespace of the element.
|
getNodeName | public String getNodeName()(Code) | | Returns the element's qualified-name as the node name.
|
getNodeType | public short getNodeType()(Code) | | Returns the DOM NodeType, ELEMENT_NODE.
|
getPrefix | public String getPrefix()(Code) | | Returns the namespace prefix for the element.
|
getQName | public QName getQName()(Code) | | Returns the qname
|
getSchemaTypeInfo | public TypeInfo getSchemaTypeInfo()(Code) | | Returns the schema type.
|
getTagName | public String getTagName()(Code) | | Returns the element's qualified-name as the node name.
|
getTextValue | public String getTextValue()(Code) | | Returns the text value of the element. For an element, the text
value is the smashing together of all the child text nodes.
|
hasContent | public boolean hasContent()(Code) | | |
normalize | public void normalize()(Code) | | Normalize the element, i.e. smash all neighboring text nodes together.
|
setName | public void setName(QName name)(Code) | | Assign a name to the element. Not normally called by external
API.
Parameters: name - the element's name. |
Methods inherited from com.caucho.xml.QAttributedNode | public String getAttribute(String name)(Code)(Java Doc) public String getAttributeNS(String namespaceURI, String local)(Code)(Java Doc) public Attr getAttributeNode(String name)(Code)(Java Doc) public Attr getAttributeNodeNS(String uri, String local)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public Attr getFirstAttribute()(Code)(Java Doc) public boolean hasAttribute(String name)(Code)(Java Doc) public boolean hasAttributeNS(String uri, String local)(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public void removeAttribute(String name)(Code)(Java Doc) public void removeAttributeNS(String uri, String name)(Code)(Java Doc) public Attr removeAttributeNode(Attr attr)(Code)(Java Doc) public Attr removeAttributeNodeNS(Attr attr)(Code)(Java Doc) public void setAttribute(String name, String value) throws DOMException(Code)(Java Doc) void setAttribute(QName name, String value) throws DOMException(Code)(Java Doc) public void setAttributeNS(String uri, String local, String value)(Code)(Java Doc) public Attr setAttributeNode(Attr attr) throws DOMException(Code)(Java Doc) public Attr setAttributeNodeNS(Attr attr) throws DOMException(Code)(Java Doc) public void setIdAttribute(String name, boolean isId) throws DOMException(Code)(Java Doc) public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException(Code)(Java Doc) public void setIdAttributeNode(Attr attr, boolean isId) throws DOMException(Code)(Java Doc) QAttr unlink(String name)(Code)(Java Doc) public QAttr unlink(String uri, String local)(Code)(Java Doc)
|
Methods inherited from com.caucho.xml.QAbstractNode | public Node appendChild(Node newNode) throws DOMException(Code)(Java Doc) public static String baseURI(Node node)(Code)(Java Doc) public boolean checkValid() throws Exception(Code)(Java Doc) public Node cloneNode(boolean deep)(Code)(Java Doc) public short compareDocumentPosition(Node node)(Code)(Java Doc) public short compareTreePosition(Node other)(Code)(Java Doc) public boolean equals(Node arg, boolean deep)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public String getCanonicalName()(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) public int getColumn()(Code)(Java Doc) public ArrayList<Depend> getDependencyList()(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public String getFilename()(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public Node getInterface(String feature)(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public int getLine()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public QAbstractNode getNextContent()(Code)(Java Doc) public QAbstractNode getNextPreorder()(Code)(Java Doc) public Node getNextSibling()(Code)(Java Doc) public String getNodeValue()(Code)(Java Doc) public Document getOwnerDocument()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public QAbstractNode getPreviousContent()(Code)(Java Doc) public Node getPreviousSibling()(Code)(Java Doc) public QName getQName()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) public String getTextValue()(Code)(Java Doc) public Object getUserData(String data)(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) public boolean hasContent()(Code)(Java Doc) public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc) public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc) public boolean isEqualNode(Node arg)(Code)(Java Doc) boolean isNameValid(String name)(Code)(Java Doc) public boolean isSameNode(Node other)(Code)(Java Doc) public boolean isSupported(String feature, String version)(Code)(Java Doc) public String lookupNamespacePrefix(String namespaceURI, boolean useDefault)(Code)(Java Doc) public String lookupNamespaceURI(String prefix)(Code)(Java Doc) public String lookupPrefix(String feature)(Code)(Java Doc) public void normalize()(Code)(Java Doc) void print(XmlPrinter out) throws IOException(Code)(Java Doc) public void print(WriteStream out) throws IOException(Code)(Java Doc) public void printHtml(WriteStream out) throws IOException(Code)(Java Doc) public void printPretty(WriteStream out) throws IOException(Code)(Java Doc) void remove()(Code)(Java Doc) public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc) public Node replaceChild(Node newChild, Node refChild) throws DOMException(Code)(Java Doc) public void setFeature(String feature, boolean value)(Code)(Java Doc) public void setLocation(String systemId, String filename, int line, int column)(Code)(Java Doc) public void setNodeValue(String value)(Code)(Java Doc) public void setPrefix(String prefix)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(String key, Object value, UserDataHandler userData)(Code)(Java Doc) public boolean supports(String feature, String version)(Code)(Java Doc)
|
|
|