|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.ModelerADFConfigTransformer
public class ModelerADFConfigTransformer
A transformer that transforms an existing ADF configuration file to a
configuration for BCModeler
.
Constructor Summary | |
---|---|
ModelerADFConfigTransformer(java.lang.String templateURI,
java.lang.String path)
Constructs a transformer with a template and a writable metadata path. |
Method Summary | |
---|---|
void |
setNamespace(java.lang.String namespace)
Sets the MDS metadata namespace. |
void |
setNamespaces(java.util.List<java.lang.String> namespaces)
Sets the list of MDS metadata namespaces. |
void |
setSessionDefPackageNames(java.lang.String[] names)
Sets the session-def package names. |
static java.lang.String |
toNamespacePath(java.lang.String pkg)
Converts dotted package name to slash-delimited namespace path. |
void |
transform(java.io.File outputFile)
Transforms the template ADF configuration to a configuration for flexfield modeler and writes the transformed configuration to a file. |
static java.net.URL |
transform(java.lang.String[] pkgNames,
java.lang.String outputPath,
boolean addToSessionDef,
boolean retainTmpFile)
Transform the existing ADF configuration in the system resource into a configuration saved as a temporary file. |
static java.net.URL |
transform(java.lang.String pkgName,
java.lang.String outputPath,
boolean addToSessionDef,
boolean retainTmpFile)
Transform the existing ADF configuration in the system resource into a configuration saved as a temporary file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelerADFConfigTransformer(java.lang.String templateURI, java.lang.String path)
templateURI
- the URI of the template ADF configuration filepath
- the metadata path where the modeler will write to
java.lang.IllegalArgumentException
- if the given template URI or path is
nullMethod Detail |
---|
public void setSessionDefPackageNames(java.lang.String[] names)
names
- the session-def package names; null to remove the existing
list from this objectpublic void setNamespaces(java.util.List<java.lang.String> namespaces)
namespaces
- the list of MDS metadata namespacespublic void setNamespace(java.lang.String namespace)
namespace
- the MDS metadata namespacesetNamespaces(java.util.List)
public static java.lang.String toNamespacePath(java.lang.String pkg)
pkg
- the dotted package name
public void transform(java.io.File outputFile) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException, java.io.IOException
outputFile
- the transformed configuration file
java.lang.IllegalArgumentException
- If the given file is null.
javax.xml.parsers.ParserConfigurationException
- if a
DocumentBuilder which satisfies the configuration requested
cannot be created.
org.xml.sax.SAXException
- if any parse errors occur.
javax.xml.transform.TransformerConfigurationException
- if a Transformer which satisfies the configuration requested
cannot be created.
javax.xml.transform.TransformerException
- if an unrecoverable
error occurs during the course of the transformation.
java.io.IOException
- if any IO errors occur.public static java.net.URL transform(java.lang.String pkgName, java.lang.String outputPath, boolean addToSessionDef, boolean retainTmpFile)
pkgName
- the flexfield business component packageoutputPath
- the path where flexfield business components should be
written toaddToSessionDef
- true if the given package is a session-def packageretainTmpFile
- true if the transformed configuration file should
remain after the Java process exists; false if the transformed
configuration file should be deleted upon the Java process exists.
java.lang.IllegalArgumentException
- if the given package name is null
java.lang.IllegalStateException
- if no ADF configuration is found in the
system resource
oracle.jbo.JboException
- if an error occurs during the transformationpublic static java.net.URL transform(java.lang.String[] pkgNames, java.lang.String outputPath, boolean addToSessionDef, boolean retainTmpFile)
pkgNames
- the flexfield business component packagesoutputPath
- the path where flexfield business components should be
written toaddToSessionDef
- true if the given package is a session-def packageretainTmpFile
- true if the transformed configuration file should
remain after the Java process exists; false if the transformed
configuration file should be deleted upon the Java process exists.
java.lang.IllegalArgumentException
- if the package name list is null or
any given package name is null
java.lang.IllegalStateException
- if no ADF configuration is found in the
system resource
oracle.jbo.JboException
- if an error occurs during the transformation
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |