Neokernel API

com.neokernel.xml Namespace

Namespace Hierarchy

Classes

Class Description
XML This is a class that contains constants used by this (com.neokernel.xml) namespace.
XMLFileParser This class extends the XMLParser, allowing XML files to be parsed.
XMLParser

This class parses min xml into one of 4 kinds of tokens: XML.EMPTY_ELEMENT_TAG, XML.START_TAG, XML.END_TAG, and XML.ELEMENT_CONTENT.

The XMLParser is instantiated with a source and characters will be read from this source via a Stream. Successive calls to the nextToken() method will return the next parsed tokens from the stream. Some options can be set, to ignore whitespace or to decode XML 1.0 escape codes in the XML.ELEMENT_CONTENT tokens.

XMLParserException This exception is thrown by XMLParser when there is a problem.
XMLPropsList

XMLPropsList is an agent that provides persistent storage of Props in XML format. It includes methods for loading Props from an XML file, writing Props to an XML file, and parsing streams of XML data to obtain additional props.

XMLPropsList supports the following Props entries:
service_name
The name that this agent will register with in the ServiceManager. The default value is database
schedule
This prop tells the LogViewerPage how often to save the XML file on the hard disk. This should be a string that conforms to the schedule syntax used by the Scheduler. Defaults to between 0:0:0-23:59:59 every 5m
load_file
This is the path to a file that the XMLPropsList should load props from on startup. Defaults to database.props
save_file
This is the path to the file that the XMLPropsList will write out to store it's Props. Defaults to database.props
XMLPropsList.ScheduledTask  
XMLRequestAgent This is an abstract implementation of RequestAgent with convenience methods for producing streamed XML-based responses of indeterminate length.
XMLToken This class represents a XML element returned by the nextElementContent method in XMLParser.