| Method from org.dom4j.dom.DOMDocument Detail: |
public Node appendChild(Node newChild) throws DOMException {
checkNewChildNode(newChild);
return DOMNodeHelper.appendChild(this, newChild);
}
|
public Node cloneNode(boolean deep) {
return DOMNodeHelper.cloneNode(this, deep);
}
|
public Attr createAttribute(String name) throws DOMException {
QName qname = getDocumentFactory().createQName(name);
return (Attr) getDocumentFactory().createAttribute(null, qname, "");
}
|
public Attr createAttributeNS(String namespaceURI,
String qualifiedName) throws DOMException {
QName qname = getDocumentFactory().createQName(qualifiedName,
namespaceURI);
return (org.w3c.dom.Attr) getDocumentFactory().createAttribute(null,
qname, null);
}
|
public CDATASection createCDATASection(String data) throws DOMException {
return (CDATASection) getDocumentFactory().createCDATA(data);
}
|
public Comment createComment(String data) {
return (org.w3c.dom.Comment) getDocumentFactory().createComment(data);
}
|
public DocumentFragment createDocumentFragment() {
DOMNodeHelper.notSupported();
return null;
}
|
public Element createElement(String name) throws DOMException {
return (org.w3c.dom.Element) getDocumentFactory().createElement(name);
}
|
public Element createElementNS(String namespaceURI,
String qualifiedName) throws DOMException {
QName qname = getDocumentFactory().createQName(qualifiedName,
namespaceURI);
return (org.w3c.dom.Element) getDocumentFactory().createElement(qname);
}
|
public EntityReference createEntityReference(String name) throws DOMException {
return (EntityReference) getDocumentFactory().createEntity(name, null);
}
|
public ProcessingInstruction createProcessingInstruction(String target,
String data) throws DOMException {
return (ProcessingInstruction) getDocumentFactory()
.createProcessingInstruction(target, data);
}
|
public Text createTextNode(String data) {
return (org.w3c.dom.Text) getDocumentFactory().createText(data);
}
|
public NamedNodeMap getAttributes() {
return null;
}
|
public NodeList getChildNodes() {
return DOMNodeHelper.createNodeList(content());
}
|
public DocumentType getDoctype() {
return DOMNodeHelper.asDOMDocumentType(getDocType());
}
|
public Element getDocumentElement() {
return DOMNodeHelper.asDOMElement(getRootElement());
}
|
protected DocumentFactory getDocumentFactory() {
if (super.getDocumentFactory() == null) {
return DOCUMENT_FACTORY;
} else {
return super.getDocumentFactory();
}
}
|
public Element getElementById(String elementId) {
return DOMNodeHelper.asDOMElement(elementByID(elementId));
}
|
public NodeList getElementsByTagName(String name) {
ArrayList list = new ArrayList();
DOMNodeHelper.appendElementsByTagName(list, this, name);
return DOMNodeHelper.createNodeList(list);
}
|
public NodeList getElementsByTagNameNS(String namespace,
String name) {
ArrayList list = new ArrayList();
DOMNodeHelper.appendElementsByTagNameNS(list, this, namespace, name);
return DOMNodeHelper.createNodeList(list);
}
|
public Node getFirstChild() {
return DOMNodeHelper.asDOMNode(node(0));
}
|
public DOMImplementation getImplementation() {
if (getDocumentFactory() instanceof org.w3c.dom.DOMImplementation) {
return (org.w3c.dom.DOMImplementation) getDocumentFactory();
} else {
return DOCUMENT_FACTORY;
}
}
|
public Node getLastChild() {
return DOMNodeHelper.asDOMNode(node(nodeCount() - 1));
}
|
public String getLocalName() {
return DOMNodeHelper.getLocalName(this);
}
|
public String getNamespaceURI() {
return DOMNodeHelper.getNamespaceURI(this);
}
|
public Node getNextSibling() {
return DOMNodeHelper.getNextSibling(this);
}
|
public String getNodeName() {
return "#document";
}
|
public String getNodeValue() throws DOMException {
return null;
}
|
public Document getOwnerDocument() {
return null;
}
|
public Node getParentNode() {
return DOMNodeHelper.getParentNode(this);
}
|
public String getPrefix() {
return DOMNodeHelper.getPrefix(this);
}
|
public Node getPreviousSibling() {
return DOMNodeHelper.getPreviousSibling(this);
}
|
public boolean hasAttributes() {
return DOMNodeHelper.hasAttributes(this);
}
|
public boolean hasChildNodes() {
return nodeCount() > 0;
}
|
public Node importNode(Node importedNode,
boolean deep) throws DOMException {
DOMNodeHelper.notSupported();
return null;
}
|
public Node insertBefore(Node newChild,
Node refChild) throws DOMException {
checkNewChildNode(newChild);
return DOMNodeHelper.insertBefore(this, newChild, refChild);
}
|
public boolean isSupported(String feature,
String version) {
return DOMNodeHelper.isSupported(this, feature, version);
}
|
public Node removeChild(Node oldChild) throws DOMException {
return DOMNodeHelper.removeChild(this, oldChild);
}
|
public Node replaceChild(Node newChild,
Node oldChild) throws DOMException {
checkNewChildNode(newChild);
return DOMNodeHelper.replaceChild(this, newChild, oldChild);
}
|
public void setNodeValue(String nodeValue) throws DOMException {
}
|
public void setPrefix(String prefix) throws DOMException {
DOMNodeHelper.setPrefix(this, prefix);
}
|
public boolean supports(String feature,
String version) {
return DOMNodeHelper.supports(this, feature, version);
}
|