com.sapportals.wcm.util.xml

Interface IXMLExtReader

All Superinterfaces:
XMLReader

public interface IXMLExtReader
extends XMLReader

Extends XMLReader by pull-parsing methods.

Copyright (c) SAP AG 2003-2005


Method Summary
 void discard()
          Free all allocated resources.
 void parse()
          Completely parse the input source.
 boolean parseNextEvents()
          Parse the next (couple of) events, may be only one, and invoke them against the installed ContentHandler.
 void setInput(InputSource source)
          Set the input source for the reading, but does not start parsing yet.
 
Methods inherited from interface org.xml.sax.XMLReader
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty
 

Method Detail

setInput

void setInput(InputSource source)
              throws SAXException
Set the input source for the reading, but does not start parsing yet.

Parameters:
source - of input
Throws:
SAXException

parseNextEvents

boolean parseNextEvents()
                        throws SAXException,
                               IOException
Parse the next (couple of) events, may be only one, and invoke them against the installed ContentHandler. The reader should ideally only fire one event, but is allowed to generate more to ease internal state management. Returns if end of input was reached.

Returns:
if end of input was reached.
Throws:
SAXException
IOException

parse

void parse()
           throws IOException,
                  SAXException
Completely parse the input source.

Throws:
IOException
SAXException

discard

void discard()
Free all allocated resources. Not necessary to call when parsing has finished.

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice