content: /*
   * Licensed to the Apache Software Foundation (ASF) under one or more
   * contributor license agreements.  See the NOTICE file distributed with
   * this work for additional information regarding copyright ownership.
   * The ASF licenses this file to You under the Apache License, Version 2.0
   * (the "License"); you may not use this file except in compliance with
   * the License.  You may obtain a copy of the License at
   * 
   *      http://www.apache.org/licenses/LICENSE-2.0
   * 
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  package mf.org.apache.xerces.impl.xs.opti;
  
  import mf.org.w3c.dom.DOMException;
  import mf.org.w3c.dom.Document;
  import mf.org.w3c.dom.NamedNodeMap;
  import mf.org.w3c.dom.Node;
  import mf.org.w3c.dom.NodeList;
  import mf.org.w3c.dom.UserDataHandler;
  
  
  /**
   * @author Rahul Srivastava, Sun Microsystems Inc.
   * @version $Id: DefaultNode.java 699892 2008-09-28 21:08:27Z mrglavas $
   * @xerces.internal
   */
  public class DefaultNode implements Node {
  
      // default constructor
      public DefaultNode() {
      }
  
      //
      // org.w3c.dom.Node methods
      //
  
      // getter methods
      @Override
      public String getNodeName() {
          return null;
      }
  
  
      @Override
      public String getNodeValue() throws DOMException {
          return null;
      }
  
      // setter methods
      @Override
      public void setNodeValue(String nodeValue) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public short getNodeType() {
          return -1;
      }
  
      @Override
      public Node getParentNode() {
          return null;
      }
  
      @Override
      public NodeList getChildNodes() {
          return null;
      }
  
      @Override
      public Node getFirstChild() {
          return null;
      }
  
      @Override
      public Node getLastChild() {
          return null;
      }
  
      @Override
      public Node getPreviousSibling() {
          return null;
      }
  
      @Override
      public Node getNextSibling() {
          return null;
      }
  
      @Override
      public NamedNodeMap getAttributes() {
          return null;
      }
  
      @Override
      public Document getOwnerDocument() {
          return null;
      }
  
      @Override
      public boolean hasChildNodes() {
          return false;
      }
  
      @Override
      public Node cloneNode(boolean deep) {
          return null;
      }
  
      @Override
      public void normalize() {
      }
  
      @Override
      public boolean isSupported(String feature, String version) {
          return false;
      }
  
      @Override
      public String getNamespaceURI() {
          return null;
      }
  
      @Override
      public String getPrefix() {
          return null;
      }
  
      @Override
      public void setPrefix(String prefix) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public String getLocalName() {
          return null;
      }
  
      /**
       * DOM Level 3
       */
      @Override
      public String getBaseURI() {
          return null;
      }
  
      @Override
      public boolean hasAttributes() {
          return false;
      }
  
      @Override
      public Node insertBefore(Node newChild, Node refChild) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public Node replaceChild(Node newChild, Node oldChild) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public Node removeChild(Node oldChild) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public Node appendChild(Node newChild) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public short compareDocumentPosition(Node other) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public String getTextContent() throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public void setTextContent(String textContent) throws DOMException {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public boolean isSameNode(Node other) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
  
      }
  
      @Override
      public String lookupPrefix(String namespaceURI) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public boolean isDefaultNamespace(String namespaceURI) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public String lookupNamespaceURI(String prefix) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public boolean isEqualNode(Node arg) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
  
      }
  
      @Override
      public Object getFeature(String feature, String version) {
          return null;
      }
  
      @Override
      public Object setUserData(String key, Object data, UserDataHandler handler) {
          throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
      }
  
      @Override
      public Object getUserData(String key) {
          return null;
      }
  
  
  }
  
  