BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.xml.stream.util
Interface XMLPullReader

All Known Implementing Classes:
XMLPullReaderBase

public interface XMLPullReader
extends org.xml.sax.XMLReader

Defines an interface that wraps a SAX XMLReader and provides extra methods needed to parse SAX events in a pull mode. These methods are provided by the Apache implementation of the SAX XMLReader

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
See Also:
XMLOutputStream

Method Summary
 boolean parseSome()
          a method that allows iterative parsing of a document
 boolean parseSomeSetup(org.xml.sax.InputSource input)
          a prepare method for the parse
 boolean parseSomeSetup(java.lang.String systemId)
          a prepare method for the parse
 
Methods inherited from interface org.xml.sax.XMLReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
 

Method Detail

parseSomeSetup

public boolean parseSomeSetup(org.xml.sax.InputSource input)
                       throws java.io.IOException,
                              org.xml.sax.SAXException
a prepare method for the parse

Parameters:
input - the input to parse

parseSomeSetup

public boolean parseSomeSetup(java.lang.String systemId)
                       throws java.io.IOException,
                              org.xml.sax.SAXException
a prepare method for the parse

Parameters:
systemId - the data to parse

parseSome

public boolean parseSome()
                  throws org.xml.sax.SAXException
a method that allows iterative parsing of a document

Returns:
true if data was parsed, false if no more data to parse

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81