unimplnode.java
来自「JAVA 所有包」· Java 代码 · 共 2,051 行 · 第 1/4 页
JAVA
2,051 行
* @return null */ public Node getPreviousSibling() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getPreviousSibling not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @param deep Flag indicating whether to clone deep (clone member variables) * * @return null */ public Node cloneNode(boolean deep) { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"cloneNode not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @return null * * @throws DOMException */ public String getNodeValue() throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNodeValue not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @param nodeValue Value to set this node to * * @throws DOMException */ public void setNodeValue(String nodeValue) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setNodeValue not supported!"); } /** * Unimplemented. See org.w3c.dom.Node * * * NEEDSDOC @param value * @return value Node value * * @throws DOMException */ // public String getValue () // { // error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getValue not supported!"); // return null; // } /** * Unimplemented. See org.w3c.dom.Node * * @param value Value to set this node to * * @throws DOMException */ public void setValue(String value) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setValue not supported!"); } /** * Returns the name of this attribute. * * @return the name of this attribute. */ // public String getName() // { // return this.getNodeName(); // } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public Element getOwnerElement() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getOwnerElement not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @return False */ public boolean getSpecified() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setValue not supported!"); return false; } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public NamedNodeMap getAttributes() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getAttributes not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @param newChild New child node to insert * @param refChild Insert in front of this child * * @return null * * @throws DOMException */ public Node insertBefore(Node newChild, Node refChild) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"insertBefore not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @param newChild Replace existing child with this one * @param oldChild Existing child to be replaced * * @return null * * @throws DOMException */ public Node replaceChild(Node newChild, Node oldChild) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"replaceChild not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @param oldChild Child to be removed * * @return null * * @throws DOMException */ public Node removeChild(Node oldChild) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"replaceChild not supported!"); return null; } /** * Tests whether the DOM implementation implements a specific feature and * that feature is supported by this node. * @param feature The name of the feature to test. This is the same name * which can be passed to the method <code>hasFeature</code> on * <code>DOMImplementation</code>. * @param version This is the version number of the feature to test. In * Level 2, version 1, this is the string "2.0". If the version is not * specified, supporting any version of the feature will cause the * method to return <code>true</code>. * * @return Returns <code>false</code> * @since DOM Level 2 */ public boolean isSupported(String feature, String version) { return false; } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public String getNamespaceURI() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNamespaceURI not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public String getPrefix() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getPrefix not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @param prefix Prefix to set for this node * * @throws DOMException */ public void setPrefix(String prefix) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setPrefix not supported!"); } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public String getLocalName() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getLocalName not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public DocumentType getDoctype() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public DOMImplementation getImplementation() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public Element getDocumentElement() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param tagName Element tag name * * @return null * * @throws DOMException */ public Element createElement(String tagName) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public DocumentFragment createDocumentFragment() { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param data Data for text node * * @return null */ public Text createTextNode(String data) { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param data Data for comment * * @return null */ public Comment createComment(String data) { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param data Data for CDATA section * * @return null * * @throws DOMException */ public CDATASection createCDATASection(String data) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param target Target for Processing instruction * @param data Data for Processing instruction * * @return null * * @throws DOMException */ public ProcessingInstruction createProcessingInstruction( String target, String data) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param name Attribute name * * @return null * * @throws DOMException */ public Attr createAttribute(String name) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param name Entity Reference name * * @return null * * @throws DOMException */ public EntityReference createEntityReference(String name) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param importedNode The node to import. * @param deep If <code>true</code>, recursively import the subtree under * the specified node; if <code>false</code>, import only the node * itself, as explained above. This has no effect on <code>Attr</code> * , <code>EntityReference</code>, and <code>Notation</code> nodes. * * @return null * * @throws DOMException */ public Node importNode(Node importedNode, boolean deep) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param namespaceURI Namespace URI for the element * @param qualifiedName Qualified name of the element * * @return null * * @throws DOMException */ public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param namespaceURI Namespace URI of the attribute * @param qualifiedName Qualified name of the attribute * * @return null * * @throws DOMException */ public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param elementId ID of the element to get * * @return null */ public Element getElementById(String elementId) { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Set Node data * * * @param data data to set for this node * * @throws DOMException */ public void setData(String data) throws DOMException { error(XMLErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * Unimplemented. *
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?