|
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.SDExtractXml
public class SDExtractXml
Singleton class handles XML write functions for Seed Data Extract. Class initiated once. Processing createExtractDoc(ExtractFile) - start a new document for named ExtractFile newViewRow(node, row) - start a new row for node writeRowAttributes(row, attributes) - write the attribute values writeReference(name, value) - write the reference key name value endViewRow(node) - end the node row endExtractDoc() - ends the document created If model contains any translatable views, Xliff files will be generated for each user selected language, with minimum for base US.
Constructor Summary | |
---|---|
SDExtractXml()
Constructor. |
Method Summary | |
---|---|
void |
abort(java.lang.String msg)
Abort this extract run, for critical errors. |
void |
addAdXmlCommentsAndUpdateRowCount(int rowcount)
Create the adxml comment and append it to the extract xml file. |
void |
createExtractDoc(ExtractFile extractFileP)
Start a new document for named ExtractFile. |
void |
endExtractDoc(int rowcount)
End the document for current ExtractFile. |
void |
endViewRow(SDViewNode node,
oracle.jbo.Row row)
End the named view row. |
ExtractFile |
getCurrentExtractFile()
|
static SDExtractXml |
getInstance()
Get the singleton SDExtractXml instance. |
boolean |
isDEbegin()
Return true when currently processing Date Effective begin row. |
void |
newViewRow(SDViewNode parentNode,
SDViewNode extensionNode,
oracle.jbo.Row row)
Add a new row for named node. |
void |
writeExternalReference(java.lang.String productCode,
java.lang.String location,
java.lang.String fileName)
|
void |
writeReference(java.lang.String name,
java.lang.String value)
Write an external Reference to Base xml. |
int |
writeRowAttributes(oracle.jbo.Row row,
SDExtractViewNode node)
Write the row attribute values to base and xlf. |
void |
writeRowKeys(SDExtractViewNode node,
oracle.jbo.Row row)
Write only the row keys as attributes of the current node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDExtractXml()
Method Detail |
---|
public static SDExtractXml getInstance()
public void createExtractDoc(ExtractFile extractFileP) throws ExtractException
extractFileP
- ExtractFile to create
ExtractException
- failure to start documentpublic void newViewRow(SDViewNode parentNode, SDViewNode extensionNode, oracle.jbo.Row row) throws ExtractXmlSerializeException, ExtractException
parentNode
- SDViewNode parent starting nodeextensionNode
- SDViewNode any polymorphic extension node,
same as parentNode if nonerow
- Row
ExtractXmlSerializeException
ExtractException
public boolean isDEbegin()
public int writeRowAttributes(oracle.jbo.Row row, SDExtractViewNode node) throws ExtractXmlSerializeException
row
- Rownode
- SDExtractViewNode node containing attrs to write
ExtractXmlSerializeException
public void writeRowKeys(SDExtractViewNode node, oracle.jbo.Row row) throws ExtractException
node
- SDExtractViewNode noderow
- Row containing key values
ExtractException
public void writeReference(java.lang.String name, java.lang.String value) throws ExtractXmlSerializeException
name
- String ref key namevalue
- String ref key value
ExtractXmlSerializeException
public void writeExternalReference(java.lang.String productCode, java.lang.String location, java.lang.String fileName)
public void endViewRow(SDViewNode node, oracle.jbo.Row row) throws ExtractXmlSerializeException
node
- SDViewNode node to endrow
- Row not currently used
ExtractXmlSerializeException
public void abort(java.lang.String msg) throws ExtractXmlSerializeException
msg
- String any fail message to add to writer, null if none
ExtractXmlSerializeException
public void endExtractDoc(int rowcount) throws ExtractXmlSerializeException
ExtractXmlSerializeException
public ExtractFile getCurrentExtractFile()
public void addAdXmlCommentsAndUpdateRowCount(int rowcount) throws ExtractXmlSerializeException
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 |