src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/DOMConfigurationImpl.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
  */
 /*
  * 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.

@@ -390,10 +390,28 @@
         throws XNIException, IOException{
         // no-op
     }
 
     /**
+     * Stops the parsing process.
+     */
+    @Override
+    public boolean stop() {
+        // no-op
+        return false;
+    }
+
+    /**
+     * Resumes parsing after it was stopped by calling the stop method.
+     */
+    @Override
+    public boolean resume() {
+        // no-op
+        return false;
+    }
+
+    /**
      * Sets the document handler on the last component in the pipeline
      * to receive information about the document.
      *
      * @param documentHandler   The document handler.
      */