- All Implemented Interfaces:
CSSElement,CSSNode,Serializable,Cloneable,Branch,Element,Node,Element,Node
An XHTML element.
- See Also:
-
Field Summary
Fields inherited from class org.dom4j.tree.AbstractElement
USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRINGFields inherited from class org.dom4j.tree.AbstractBranch
DEFAULT_CONTENT_LIST_SIZEFields inherited from class org.dom4j.tree.AbstractNode
NODE_TYPE_NAMESFields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODEFields 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
ConstructorsConstructorDescriptionXHTMLElement(String name) XHTMLElement(QName qname) XHTMLElement(QName qname, int attributeCount) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidchildAdded(Node node) protected voidchildRemoved(Node node) protected StringgetId()Gets theidattribute of this element.voidsetAttribute(String name, String value) voidsetAttributeNS(String namespaceURI, String qualifiedName, String value) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) Deprecated.setUserData(String key, Object data, UserDataHandler handler) Methods inherited from class io.sf.carte.doc.dom4j.CSSStylableElement
attribute, exportHintsToStyle, getBaseURI, getComputedStyle, getComputedStyle, getDocument, getDocumentFactory, getFeature, getOverrideStyle, getOwnerDocument, getSelectorMatcher, getStyle, hasOverrideStyle, hasPresentationalHints, matches, matches, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNodeMethods inherited from class org.dom4j.dom.DOMElement
appendChild, attribute, cloneNode, compareDocumentPosition, createAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getQName, getSchemaTypeInfo, getTagName, getTextContent, getUserData, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, supportsMethods inherited from class org.dom4j.tree.DefaultElement
add, additionalNamespaces, additionalNamespaces, addNewNode, attribute, attribute, attribute, attribute, attributeCount, attributeIterator, attributeList, attributeList, attributes, clearContent, clone, contentList, declaredNamespaces, element, element, element, getNamespaceForPrefix, getNamespaceForURI, getParent, getQName, getStringValue, getText, indexOf, node, nodeCount, nodeIterator, processingInstruction, processingInstructions, processingInstructions, remove, removeNode, removeProcessingInstruction, setAttributeList, setAttributes, setContent, setDocument, setParent, setQName, supportsParentMethods inherited from class org.dom4j.tree.AbstractElement
accept, add, add, add, add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addElement, addEntity, addNamespace, addNewNode, addNode, addNode, addProcessingInstruction, addProcessingInstruction, addText, appendAttributes, asXML, attributeValue, attributeValue, attributeValue, attributeValue, createAttributeList, createAttributeList, createCopy, createCopy, createCopy, createElement, createElement, createSingleIterator, elementIterator, elementIterator, elementIterator, elementIterator, elements, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, ensureAttributesCapacity, getData, getName, getNamespace, getNamespacePrefix, getNamespacesForURI, getNodeType, getPath, getQName, getQualifiedName, getUniquePath, getXPathNameStep, getXPathResult, hasMixedContent, isRootElement, isTextOnly, normalize, remove, remove, remove, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setName, setNamespace, setText, toString, writeMethods inherited from class org.dom4j.tree.AbstractBranch
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructionsMethods inherited from class org.dom4j.tree.AbstractNode
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOfMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dom4j.Branch
addElement, addElement, appendContent, content, elementByID, setProcessingInstructionsMethods inherited from interface org.dom4j.Element
getTextTrimMethods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNSMethods inherited from interface org.dom4j.Node
asXPathResult, createXPath, detach, getNodeTypeName, getPath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOfMethods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
-
Constructor Details
-
XHTMLElement
-
XHTMLElement
-
XHTMLElement
-
-
Method Details
-
getId
Gets theidattribute of this element.- Specified by:
getIdin interfaceCSSElement- Specified by:
getIdin classCSSStylableElement- Returns:
- the
idattribute, or the empty string if has no ID.
-
elementID
- Overrides:
elementIDin classAbstractBranch
-
setAttribute
- Specified by:
setAttributein interfaceElement- Overrides:
setAttributein classDOMElement- Throws:
DOMException
-
setAttributeNS
public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException - Specified by:
setAttributeNSin interfaceElement- Overrides:
setAttributeNSin classDOMElement- Throws:
DOMException
-
childAdded
- Overrides:
childAddedin classAbstractElement
-
childRemoved
- Overrides:
childRemovedin classAbstractElement
-
setUserData
- Specified by:
setUserDatain interfaceNode- Overrides:
setUserDatain classDOMElement
-
setIdAttributeNS
@Deprecated public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException Deprecated.- Specified by:
setIdAttributeNSin interfaceElement- Overrides:
setIdAttributeNSin classCSSStylableElement- Throws:
DOMException
-