sboag       01/06/29 10:41:31

  Modified:    java/src/org/apache/xml/dtm/ref DTMNodeProxy.java
  Log:
  Implement extra DOM3 methods (as not implemented methods),
  even though we're not compiling against the DOM3 API.
  
  Revision  Changes    Path
  1.4       +155 -0    
xml-xalan/java/src/org/apache/xml/dtm/ref/DTMNodeProxy.java
  
  Index: DTMNodeProxy.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/DTMNodeProxy.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DTMNodeProxy.java 2001/06/15 15:52:58     1.3
  +++ DTMNodeProxy.java 2001/06/29 17:41:28     1.4
  @@ -1125,4 +1125,159 @@
       throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
     }
   
  +  /**
  +   * NEEDSDOC Method adoptNode 
  +   *
  +   *
  +   * NEEDSDOC @param source
  +   *
  +   * NEEDSDOC (adoptNode) @return
  +   *
  +   * @throws DOMException
  +   */
  +  public Node adoptNode(Node source) throws DOMException
  +  {
  +
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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()
  +  {
  +
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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)
  +  {
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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()
  +  {
  +
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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)
  +  {
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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()
  +  {
  +
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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)
  +  {
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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()
  +  {
  +
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
  +
  +  /**
  +   * <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)
  +  {
  +    throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR);
  +  }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to