Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.extract.util.xml
Class SDAdXml

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.extract.util.xml.SDAdXml

public class SDAdXml
extends java.lang.Object

ADXML comment generation class for use in extract files. Usage Information 1. create the Adxml Object 2. call startAdXml method 3. set the values to the parameters in the xml file by calling set* methods 4. call generateAdXml to generate the adxml xml content. 5. call getAdXml to get the commented adxml string.


Field Summary
static java.lang.String ABSTRACT_FILE
          abstract_file element in adxml.
static java.lang.String ACTION
          action element in adxml.
static java.lang.String ACTION_DETAILS
          action_details element in adxml.
static java.lang.String AHTRC
          ahead_of_time_run_conditions element in adxml.
static java.lang.String AM_PARAM
          option to for am in args.
static java.lang.String ANALYSIS_ACTION
          analysis_action element in adxml.
static java.lang.String APPLY_ACTION
          apply_action element in adxml.
static java.lang.String ARGS
          args element in adxml.
static java.lang.String CHECK_FILE
          check_file element in adxml.
static java.lang.String DEFAULT_ACTION
          default_action element in adxml.
static java.lang.String EXECUTABLE
          executable element in adxml.
static java.lang.String INVOKING_EXEC
          invoking_exec element in adxml.
static java.lang.String METADATA
          metadata element in adxml.
static java.lang.String RUN_AFTER_TASKS
          run_after_tasks element in adxml
static java.lang.String SEED_DATA_CTGRY
          Seed data Categories
static java.lang.String SEED_NLS_DATA_CTGRY
           
static java.lang.String SEED_TAXONOMY_DATA_CTGRY
           
static java.lang.String SRC_FILE
          src_file element in adxml.
static java.lang.String TASK_REFERENCE
           
 
Constructor Summary
SDAdXml()
          Constructor populates the NodeAttributes with the adxml attributes and their default values.
 
Method Summary
 void endAdXml()
          Ends the adxml comments by closing all the objects used internally and created the adxml comment with xml comments appended to each line.
 void generateAdXml()
          This is the main method which will create the actual adxml contents.
 java.lang.String getAdXml()
          Returns the adxml string that is constructred.
static SDNodeAttributes getTaskReferenceNode(SDExternalReferenceFile extRef)
           
 void setAMName(java.lang.String extractAppModName)
          Sets the Application Module name to be used in adxml.
 void setCategory(java.lang.String category)
          Sets the AD category for this seed extract file.
 void setExternalReferences(SDExternalReferences extrefs)
           
 void setNLS(boolean nls)
           
 void startAdXml()
          Starts the adxml for writing, creates the writer object and outputstream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SRC_FILE

public static final java.lang.String SRC_FILE
src_file element in adxml.

See Also:
Constant Field Values

ABSTRACT_FILE

public static final java.lang.String ABSTRACT_FILE
abstract_file element in adxml.

See Also:
Constant Field Values

METADATA

public static final java.lang.String METADATA
metadata element in adxml.

See Also:
Constant Field Values

ACTION

public static final java.lang.String ACTION
action element in adxml.

See Also:
Constant Field Values

APPLY_ACTION

public static final java.lang.String APPLY_ACTION
apply_action element in adxml.

See Also:
Constant Field Values

ACTION_DETAILS

public static final java.lang.String ACTION_DETAILS
action_details element in adxml.

See Also:
Constant Field Values

INVOKING_EXEC

public static final java.lang.String INVOKING_EXEC
invoking_exec element in adxml.

See Also:
Constant Field Values

EXECUTABLE

public static final java.lang.String EXECUTABLE
executable element in adxml.

See Also:
Constant Field Values

ARGS

public static final java.lang.String ARGS
args element in adxml.

See Also:
Constant Field Values

ANALYSIS_ACTION

public static final java.lang.String ANALYSIS_ACTION
analysis_action element in adxml.

See Also:
Constant Field Values

DEFAULT_ACTION

public static final java.lang.String DEFAULT_ACTION
default_action element in adxml.

See Also:
Constant Field Values

AHTRC

public static final java.lang.String AHTRC
ahead_of_time_run_conditions element in adxml.

See Also:
Constant Field Values

CHECK_FILE

public static final java.lang.String CHECK_FILE
check_file element in adxml.

See Also:
Constant Field Values

RUN_AFTER_TASKS

public static final java.lang.String RUN_AFTER_TASKS
run_after_tasks element in adxml

See Also:
Constant Field Values

TASK_REFERENCE

public static final java.lang.String TASK_REFERENCE
See Also:
Constant Field Values

AM_PARAM

public static final java.lang.String AM_PARAM
option to for am in args.

See Also:
Constant Field Values

SEED_DATA_CTGRY

public static final java.lang.String SEED_DATA_CTGRY
Seed data Categories

See Also:
Constant Field Values

SEED_NLS_DATA_CTGRY

public static final java.lang.String SEED_NLS_DATA_CTGRY
See Also:
Constant Field Values

SEED_TAXONOMY_DATA_CTGRY

public static final java.lang.String SEED_TAXONOMY_DATA_CTGRY
See Also:
Constant Field Values
Constructor Detail

SDAdXml

public SDAdXml()
Constructor populates the NodeAttributes with the adxml attributes and their default values.

Method Detail

startAdXml

public void startAdXml()
                throws ExtractXmlSerializeException
Starts the adxml for writing, creates the writer object and outputstream.

Throws:
ExtractXmlSerializeException - failed to start document

generateAdXml

public void generateAdXml()
                   throws ExtractXmlSerializeException
This is the main method which will create the actual adxml contents.

Throws:
ExtractXmlSerializeException

getTaskReferenceNode

public static SDNodeAttributes getTaskReferenceNode(SDExternalReferenceFile extRef)

setExternalReferences

public void setExternalReferences(SDExternalReferences extrefs)

setAMName

public void setAMName(java.lang.String extractAppModName)
Sets the Application Module name to be used in adxml.

Parameters:
extractAppModName - appliation module name which is being used for extract.

setCategory

public void setCategory(java.lang.String category)
Sets the AD category for this seed extract file.

Parameters:
category - category of the seed entity.

endAdXml

public void endAdXml()
              throws ExtractXmlSerializeException
Ends the adxml comments by closing all the objects used internally and created the adxml comment with xml comments appended to each line.

Throws:
ExtractXmlSerializeException

getAdXml

public java.lang.String getAdXml()
Returns the adxml string that is constructred.

Returns:
String

setNLS

public void setNLS(boolean nls)

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.