|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applseed.rt.extract.util.xml.SDAbstractXMLWriter oracle.apps.fnd.applseed.rt.extract.util.xml.SDXMLSaxWriter
public class SDXMLSaxWriter
Wrapper class for XMLSAXSerializer. Implmentation of SDXMLWriter interface.
Field Summary |
---|
Fields inherited from class oracle.apps.fnd.applseed.rt.extract.util.xml.SDAbstractXMLWriter |
---|
outputFile, outputStream, writerType |
Constructor Summary | |
---|---|
SDXMLSaxWriter(java.io.File file,
java.lang.String type)
Constructor for named file to create. |
|
SDXMLSaxWriter(java.io.OutputStream stream,
java.lang.String type)
Constructor. |
Method Summary | |
---|---|
void |
addComment(java.lang.String comment)
Add comments to document. |
void |
addText(java.lang.String textVal)
Add text to the document under current element. |
void |
appendElement(java.lang.String elementName)
Append the named element to document. |
void |
endDocument()
End the current document, end any open elements, flush and close output stream. |
void |
flush()
Flush the serializer output stream. |
void |
newElement(java.lang.String elementName,
SDNodeAttributes attributes)
Start a new element in document. |
void |
startDocument()
Starts a new document. |
Methods inherited from class oracle.apps.fnd.applseed.rt.extract.util.xml.SDAbstractXMLWriter |
---|
abort, addElement, addElement, addElement, createMessage, newElement, newElement, newTextNode, newTextNode, newTextNode, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SDXMLSaxWriter(java.io.OutputStream stream, java.lang.String type)
stream
- OutputStream to accept document outputtype
- String writer type, eg Base, Xliff, ADXMLpublic SDXMLSaxWriter(java.io.File file, java.lang.String type) throws java.io.FileNotFoundException
file
- File to createtype
- String writer type, eg Base, Xliff, ADXML
java.io.FileNotFoundException
- if file param does not existMethod Detail |
---|
public void startDocument() throws ExtractXmlSerializeException
startDocument
in interface SDXMLWriter
startDocument
in class SDAbstractXMLWriter
ExtractXmlSerializeException
public void newElement(java.lang.String elementName, SDNodeAttributes attributes) throws ExtractXmlSerializeException
newElement
in interface SDXMLWriter
newElement
in class SDAbstractXMLWriter
elementName
- String element nameattributes
- SDNodeAttributes any attributes to add, null if none
ExtractXmlSerializeException
public void addText(java.lang.String textVal) throws ExtractXmlSerializeException
addText
in interface SDXMLWriter
addText
in class SDAbstractXMLWriter
textVal
- String text value
ExtractXmlSerializeException
public void appendElement(java.lang.String elementName) throws ExtractXmlSerializeException
appendElement
in interface SDXMLWriter
appendElement
in class SDAbstractXMLWriter
elementName
-
ExtractXmlSerializeException
public void addComment(java.lang.String comment) throws ExtractXmlSerializeException
addComment
in interface SDXMLWriter
addComment
in class SDAbstractXMLWriter
comment
- String comments to add
ExtractXmlSerializeException
public void endDocument() throws ExtractXmlSerializeException
endDocument
in interface SDXMLWriter
endDocument
in class SDAbstractXMLWriter
ExtractXmlSerializeException
public void flush() throws ExtractXmlSerializeException
flush
in interface SDXMLWriter
flush
in class SDAbstractXMLWriter
ExtractXmlSerializeException
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |