|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ifs.beans.parsers.XmlParser
This class is deprecated. Use oracle.ifs.beans.parsers.IfsXmlParser.
An XmlParser creates one or more LibraryObjects based on an XMLDocument tree constructed from an InputStream or Reader.
XmlParser invokes the traverseTree method, passing in an
XMLDocument created from the input data. The traverseTree
method will create LibraryObjects based on the XMLDocument. For each
LibraryObject created, the appropriate ParserCallback functions (if any)
should be invoked.
| Fields inherited from interface oracle.ifs.beans.parsers.Parser |
CURRENT_NAME_OPTION, CURRENT_PATH_OPTION, DOCUMENT_CHARSET_OPTION, DOCUMENT_LANGUAGE_OPTION, UPDATE_OBJECT_OPTION, VALIDATE_DOCUMENT_OPTION |
| Constructor Summary | |
XmlParser(LibrarySession ls)
Deprecated. use oracle.ifs.beans.parsers.IfsXmlParser(LibrarySession) The IfsXmlParser acts as the entry point for all iFS XML parsing functionality. The main function of the parser is to determine the nature of the XML document it is processing, then select the appropriate content-specific parser and submit the document for processing by that parser. |
|
| Method Summary | |
LibraryObject |
parse(java.io.InputStream stream,
ParserCallback callback,
java.util.Hashtable options)
Deprecated. use oracle.ifs.beans.parsers.IfsXmlParser.parse( InputStream, ParserCallback, Hashtable) |
LibraryObject |
parse(java.io.Reader reader,
ParserCallback callback,
java.util.Hashtable options)
Deprecated. use oracle.ifs.beans.parsers.IfsXmlParser.parse( InputStream, ParserCallback, Hashtable) Readers are not supported by IfsXmlParser |
protected abstract LibraryObject |
traverseTree(oracle.xml.parser.v2.XMLDocument doc,
ParserCallback callback,
java.util.Hashtable options)
Deprecated. use oracle.ifs.beans.parsers.IfsXmlParser traverseTree is not supported by IfsXmlParser |
| Constructor Detail |
public XmlParser(LibrarySession ls)
ls - the LibrarySession| Method Detail |
public final LibraryObject parse(java.io.InputStream stream,
ParserCallback callback,
java.util.Hashtable options)
throws IfsException
parse in interface Parseroracle.ifs.beans.parsers.Parserstream - the InputStreamcallback - an application object that interacts with the
the parsing process; optional, can be nulloptions - any Parser-specific optionsIfsException - (IFS-12601) if the operation fails
public final LibraryObject parse(java.io.Reader reader,
ParserCallback callback,
java.util.Hashtable options)
throws IfsException
parse in interface Parseroracle.ifs.beans.parsers.Parserreader - the Readercallback - an application object that interacts with the
the parsing process; optional, can be nulloptions - any Parser-specific optionsIfsException - (IFS-12602) if the operation fails
protected abstract LibraryObject traverseTree(oracle.xml.parser.v2.XMLDocument doc,
ParserCallback callback,
java.util.Hashtable options)
throws IfsException
doc - the XMLDocument created from the Parser's
InputStream/Reader.callback - an application object that interacts with the parsing
process; optional, can be nulloptions - any Parser-specific optionsIfsException - (IFS-12601) if the operation fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||