|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.parser.ParserImpl
com.ibm.di.parser.xml.XMLParser2
com.ibm.di.parser.IdMLParser
public class IdMLParser
The Parser used to parse IdML XML documents (or books). It is designed only
for reading IdML files. For more information how they can be written, see
OpenIdMLFC
, CloseIdMLFC
, RollingIdMLFC
and
IdMLConnector
.
Field Summary |
---|
Fields inherited from class com.ibm.di.parser.xml.XMLParser2 |
---|
attrsDeclaration, charEncoding, coalescing, currentEntryAsXML, currentEntryAsXMLString, DEFAULT_ENCODING, DUMMY_ROOT_NAME, entryTag, firstWriteStart, indentOutput, nsMap, nsTracker, skipXMLOnReading, skipXMLOnWriting, standaloneRoot, valueTag, wrapUnwrapEntry, xmlVersion, xPath, xPathStr, xsdPath |
Fields inherited from class com.ibm.di.parser.ParserImpl |
---|
_debug, myConfiguration |
Constructor Summary | |
---|---|
IdMLParser()
Default constructor. |
Method Summary | |
---|---|
void |
closeParser()
This method closes the parser's streams |
java.lang.String |
getVersion()
Version information. |
void |
initInput()
Initializes the Input. |
Entry |
readEntry()
Reads the data from the IdML book and returns it, one artifact at a time (i.e. |
Methods inherited from class com.ibm.di.parser.xml.XMLParser2 |
---|
getCurrentEntryAsXMLStream, getCurrentEntryAsXMLString, getCurrentEntryPath, getLogger, getSchemaLocationFromXML, initOutput, initParser, querySchema, writeEntry |
Methods inherited from class com.ibm.di.parser.ParserImpl |
---|
debug, debugMode, flush, getClassInstance, getContext, getDebug, getInputStream, getOutputStream, getParam, getParser, getReader, getWriter, isDeltaSupported, logmsg, registerScriptBeans, setConfiguration, setContext, setDebug, setInputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setParam, setParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.di.parser.ParserInterface |
---|
flush, getContext, getDebug, getParam, getParser, getReader, getWriter, isDeltaSupported, registerScriptBeans, setConfiguration, setContext, setDebug, setInputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setParam, setParser |
Constructor Detail |
---|
public IdMLParser()
Method Detail |
---|
public void initInput() throws java.lang.Exception
initInput
in class XMLParser2
java.lang.Exception
- - in case of a read error occurs.ParserImpl.setInputStream(java.io.Reader)
public Entry readEntry() throws java.lang.Exception
readEntry
in interface ParserInterface
readEntry
in class XMLParser2
java.lang.Exception
- if unable to parse an IdML file.public java.lang.String getVersion()
getVersion
in interface VersionInfoInterface
getVersion
in class XMLParser2
public void closeParser() throws java.lang.Exception
closeParser
in interface ParserInterface
closeParser
in class XMLParser2
java.lang.Exception
- in case an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |