/** * Sets the node immediately preceding this node. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public void setPreviousSibling(Node n) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "sibling.not.allowed", new Object[] { new Integer(getNodeType()), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#appendChild(Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node appendChild(Node newChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] { new Integer(getNodeType()), getNodeName() }); }
/** * Checks the validity of a node to be inserted. */ protected void checkChildType(Node n, boolean replace) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] { new Integer(getNodeType()), getNodeName() }); }
/** * Sets the node immediately following this node. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public void setNextSibling(Node n) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "sibling.not.allowed", new Object[] { new Integer(getNodeType()), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.Node#replaceChild(Node, Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node replaceChild(Node newChild, Node oldChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] { new Integer(getNodeType()), getNodeName()}); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.Node#insertBefore(Node, Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node insertBefore(Node newChild, Node refChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#getPrefix()}. */ public String getPrefix() { return (getNamespaceURI() == null) ? null : DOMUtilities.getPrefix(getNodeName()); }
/** * Sets the parent node. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public void setParentNode(Node v) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "parent.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#removeChild(Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node removeChild(Node oldChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#appendChild(Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node appendChild(Node newChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * Sets the node immediately preceding this node. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public void setPreviousSibling(Node n) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "sibling.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#getLocalName()}. */ public String getLocalName() { return (getNamespaceURI() == null) ? null : DOMUtilities.getLocalName(getNodeName()); }
/** * Checks the validity of a node to be inserted. */ protected void checkChildType(Node n, boolean replace) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#appendChild(Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node appendChild(Node newChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#getPrefix()}. */ public String getPrefix() { return (getNamespaceURI() == null) ? null : DOMUtilities.getPrefix(getNodeName()); }
/** * <b>DOM</b>: Implements {@link * org.w3c.dom.Node#replaceChild(Node, Node)}. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public Node replaceChild(Node newChild, Node oldChild) throws DOMException { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "children.not.allowed", new Object[] {(int) getNodeType(), getNodeName()}); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#getPrefix()}. */ public String getPrefix() { return (getNamespaceURI() == null) ? null : DOMUtilities.getPrefix(getNodeName()); }
/** * <b>DOM</b>: Implements {@link org.w3c.dom.Node#getLocalName()}. */ public String getLocalName() { return (getNamespaceURI() == null) ? null : DOMUtilities.getLocalName(getNodeName()); }
/** * Sets the parent node. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public void setParentNode(Node v) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "parent.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }
/** * Sets the node immediately following this node. * Throws a HIERARCHY_REQUEST_ERR {@link org.w3c.dom.DOMException}. */ public void setNextSibling(Node n) { throw createDOMException(DOMException.HIERARCHY_REQUEST_ERR, "sibling.not.allowed", new Object[] {(int) getNodeType(), getNodeName() }); }