src/java.xml/share/classes/com/sun/org/apache/xerces/internal/parsers/XML11Configuration.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2008, 2014, 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. --- 1,7 ---- /* ! * Copyright (c) 2008, 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.
*** 893,902 **** --- 893,916 ---- } } // parse(boolean):boolean /** + * Stops the parsing process. + */ + public boolean stop() { + return fCurrentScanner.stop(); + } + + /** + * Resumes parsing after it was stopped by calling the stop method. + */ + public boolean resume() { + return fCurrentScanner.resume(); + } + + /** * Returns the state of a feature. * * @param featureId The feature identifier. * @return true if the feature is supported *