unimplnode.java
来自「java jdk 1.4的源码」· Java 代码 · 共 1,306 行 · 第 1/2 页
JAVA
1,306 行
* Unimplemented. See org.w3c.dom.Node * * @return null */ public NamedNodeMap getAttributes() { error(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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 featureThe 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 versionThis 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>. * * NEEDSDOC @param feature * NEEDSDOC @param version * @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(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getNamespaceURI not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public String getPrefix() { error(XSLTErrorResources.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(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"setPrefix not supported!"); } /** * Unimplemented. See org.w3c.dom.Node * * @return null */ public String getLocalName() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); //"getLocalName not supported!"); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public DocumentType getDoctype() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public DOMImplementation getImplementation() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public Element getDocumentElement() { error(XSLTErrorResources.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(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @return null */ public DocumentFragment createDocumentFragment() { error(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. See org.w3c.dom.Document * * @param importedNodeThe node to import. * @param deepIf <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. * * NEEDSDOC @param importedNode * NEEDSDOC @param deep * * @return null * * @throws DOMException */ public Node importNode(Node importedNode, boolean deep) throws DOMException { error(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.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(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * Unimplemented. * * @param offset Start offset of substring to extract. * @param count The length of the substring to extract. * * @return null * * @throws DOMException */ public String substringData(int offset, int count) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * Unimplemented. * * @param arg String data to append * * @throws DOMException */ public void appendData(String arg) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * Unimplemented. * * @param offset Start offset of substring to insert. * @param count The length of the substring to insert. * NEEDSDOC @param arg * * @throws DOMException */ public void insertData(int offset, String arg) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * Unimplemented. * * @param offset Start offset of substring to delete. * @param count The length of the substring to delete. * * @throws DOMException */ public void deleteData(int offset, int count) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * Unimplemented. * * @param offset Start offset of substring to replace. * @param count The length of the substring to replace. * @param arg substring to replace with * * @throws DOMException */ public void replaceData(int offset, int count, String arg) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * Unimplemented. * * @param offset Offset into text to split * * @return null, unimplemented * * @throws DOMException */ public Text splitText(int offset) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * NEEDSDOC Method adoptNode * * * NEEDSDOC @param source * * NEEDSDOC (adoptNode) @return * * @throws DOMException */ public Node adoptNode(Node source) throws DOMException { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying, as part of the XML declaration, the encoding * of this document. This is <code>null</code> when unspecified. * @since DOM Level 3 * * NEEDSDOC ($objectName$) @return */ public String getEncoding() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying, as part of the XML declaration, the encoding * of this document. This is <code>null</code> when unspecified. * @since DOM Level 3 * * NEEDSDOC @param encoding */ public void setEncoding(String encoding) { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying, as part of the XML declaration, whether this * document is standalone. * @since DOM Level 3 * * NEEDSDOC ($objectName$) @return */ public boolean getStandalone() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return false; } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying, as part of the XML declaration, whether this * document is standalone. * @since DOM Level 3 * * NEEDSDOC @param standalone */ public void setStandalone(boolean standalone) { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying whether errors checking is enforced or not. * When set to <code>false</code>, the implementation is free to not * test every possible error case normally defined on DOM operations, * and not raise any <code>DOMException</code>. In case of error, the * behavior is undefined. This attribute is <code>true</code> by * defaults. * @since DOM Level 3 * * NEEDSDOC ($objectName$) @return */ public boolean getStrictErrorChecking() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return false; } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying whether errors checking is enforced or not. * When set to <code>false</code>, the implementation is free to not * test every possible error case normally defined on DOM operations, * and not raise any <code>DOMException</code>. In case of error, the * behavior is undefined. This attribute is <code>true</code> by * defaults. * @since DOM Level 3 * * NEEDSDOC @param strictErrorChecking */ public void setStrictErrorChecking(boolean strictErrorChecking) { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying, as part of the XML declaration, the version * number of this document. This is <code>null</code> when unspecified. * @since DOM Level 3 * * NEEDSDOC ($objectName$) @return */ public String getVersion() { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); return null; } /** * <p>EXPERIMENTAL! Based on the <a * href='http://www.w3.org/TR/2001/WD-DOM-Level-3-Core-20010605'>Document * Object Model (DOM) Level 3 Core Working Draft of 5 June 2001.</a>. * <p> * An attribute specifying, as part of the XML declaration, the version * number of this document. This is <code>null</code> when unspecified. * @since DOM Level 3 * * NEEDSDOC @param version */ public void setVersion(String version) { error(XSLTErrorResources.ER_FUNCTION_NOT_SUPPORTED); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?