Revision [1605]

This is an old revision of FunctionStAXnewEventReader made by DavidLee on 2010-12-03 07:42:51.

 

Function newEventReader


This function is part of the StAX support.

Name

newEventReader creates a new StAX XMLEventReader Object


Synopsis

newEventReader( [ uri ] )


Description


newEventReader creates an instance of a StAX XMLEventReader object initialized to read from the standard input port, or if supplied, any URI (filename, http etc).

The result object should be stored in a variable for use by other StAX Functions.
This object is actually a real instance of the XMLEventReader interface, and you can use the Java Objects method call syntax to access it,
it is easier and more efficient to use the functions in the StAX Functions which provide a higher level interface.



Example
import commands stax=stax
reader=stax:newEventReader( file.xml )




Commands
StAX Functions
Java Objects
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki