Hitachi

uCosminexus Application Server XML Processor User Guide


3.4.6 Parsing the XML document

Parsing the XML document by the parse method of XML parser in which the preparsed object is set up. The following table describes the parse methods for high-speed parse support function:

Important note

The operation is not guaranteed if the high-speed parse support function is used with a parse method that is not mentioned in the table.

Table 3‒8: Parse methods with which the high-speed parse support function is used

Class name

Method name

javax.xml.parsers.DocumentBuilder

parse(File f)

parse(InputSource is)

parse(InputStream is)

parse(InputStream is, String systemId)

parse(String uri)

javax.xml.parsers.SAXParser

parse(File f, DefaultHandler dh)

parse(InputSource is, DefaultHandler dh)

parse(InputStream is, DefaultHandler dh)

parse(InputStream is, DefaultHandler dh, String systemId)

parse(String uri, DefaultHandler dh)

org.xml.sax.XMLReader

parse(InputSource input)

parse(String systemId)