|
||||||||||
| 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.CBEParser
public class CBEParser
A class that reads and writes CBE objects in XML format.
| 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 | |
|---|---|
CBEParser()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
closeParser()
This method closes the parser's streams |
java.lang.String |
getVersion()
Version information. |
void |
initInput()
Initializes the Input. |
void |
initOutput()
Initialize and prepare the outputStream and prepare the outputDoc. |
java.lang.Object |
querySchema(java.lang.Object source)
This Parser does not support dynamic schema discovery and uses the default Query Schema implementation. |
Entry |
readEntry()
Reads the inputStream and fill the Entry Object that it returns |
void |
writeEntry(Entry entry)
Create/get the CBE object and convert it to XML. |
| Methods inherited from class com.ibm.di.parser.xml.XMLParser2 |
|---|
getCurrentEntryAsXMLStream, getCurrentEntryAsXMLString, getLogger, getSchemaLocationFromXML, initParser |
| 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 CBEParser()
| Method Detail |
|---|
public void initInput()
throws java.lang.Exception
initInput in class XMLParser2java.lang.Exception - - in case of a read error occurs.ParserImpl.setInputStream(java.io.Reader)
public Entry readEntry()
throws java.lang.Exception
readEntry in interface ParserInterfacereadEntry in class XMLParser2java.lang.Exception -
public void initOutput()
throws java.lang.Exception
initOutput in class XMLParser2java.lang.Exception - if an error occurs.
public void writeEntry(Entry entry)
throws java.lang.Exception
writeEntry in interface ParserInterfacewriteEntry in class XMLParser2entry - -
The entry that is going to be written to the outputStream as
XML
java.lang.Exception - -
in the following cases:
public void closeParser()
throws java.lang.Exception
closeParser in interface ParserInterfacecloseParser in class XMLParser2java.lang.Exception - in case an error occurspublic java.lang.String getVersion()
getVersion in interface VersionInfoInterfacegetVersion in class XMLParser2public java.lang.Object querySchema(java.lang.Object source)
querySchema in interface ParserInterfacequerySchema in class XMLParser2source - The object on which to discover schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||