oracle.clex.process
Class CreateXMLPage

java.lang.Object
  |
  +--oracle.cle.process.Process
        |
        +--oracle.cle.process.GenericProcess
              |
              +--oracle.cle.process.ParentProcess
                    |
                    +--oracle.clex.process.CreatePage
                          |
                          +--oracle.clex.process.CreateGenericTextPage
                                |
                                +--oracle.clex.process.CreateXMLPage
All Implemented Interfaces:
Child, java.lang.Cloneable, PageConstants, Parent, ProcessConstants, java.io.Serializable, State

Deprecated. Use CreateXSLTransformationPage instead. This class will be removed in future releases.

public class CreateXMLPage
extends CreateGenericTextPage

This class creates transformed XML given an XML document and an XSL stylesheet.

See Also:
Serialized Form

Field Summary
protected  java.lang.String tagName
          Deprecated.  
protected  java.lang.String xmlDocInfoName
          Deprecated.  
protected  java.lang.String xmlLocationKey
          Deprecated.  
protected  java.lang.String xslLocationKey
          Deprecated.  
 
Fields inherited from class oracle.cle.process.GenericProcess
parent
 
Fields inherited from class oracle.cle.process.Process
condition, DEBUG, endState, FAILURE, name, processes, service, stateMachine, SUCCESS, TRANSITION_CONDITION_FAILURE, TRANSITION_CONDITION_SUCCESS
 
Fields inherited from interface oracle.cle.process.ProcessConstants
ALLINFO, BINARYSIZE, CONNECTION_PROVIDER_DTD_NAME, CONNECTION_PROVIDER_VALIDATION_PROPERTY, CONTENTTYPE, CURRENTPAGEID, CURRENTSERVICE, ERRORMESSAGE, GENERICBINARYRESULT, GENERICTEXTRESULT, GETINFO_CHECK_ALL, GETINFO_CHECK_CONTROLLERONLY, GETINFO_CHECK_SERVICEONLY, HTML, HTMLRESULT, JSPRESULT, LOGOFF, NOMESSAGE, PAGEID, PDF, PDFRESULT, PRE_GROUP_DTD_NAME, PRE_GROUP_VALIDATION_PROPERTY, PROCESS_FEEDBACK, RESTART, RESULTTYPE, RULES_DTD_NAME, SERVICE_DESCRIPTOR, SERVICE_DTD_NAME, SERVICE_VALIDATION_PROPERTY, SERVICEINITIALSTATE, SERVICENAME, SESSIONID, SKIP, STACKTRACE, USER, USERROLE, WML, XML, XMLRESULT
 
Constructor Summary
CreateXMLPage()
          Deprecated.  
CreateXMLPage(java.lang.String aXSLLocationKey, java.lang.String aXMLLocationKey)
          Deprecated. Constructor with XSLLocation and XMLLocation information
CreateXMLPage(java.lang.String aXSLLocationKey, java.lang.String aXMLDocInfoName, java.lang.String aTagName)
          Deprecated. Constructor with XSLLocation, XMLDocument key and the tagname
 
Method Summary
protected  javax.xml.transform.dom.DOMSource getDocumentFromFile(java.lang.String fileURLString)
          Deprecated. Returns a DOMSource for a given file
protected  javax.xml.transform.dom.DOMSource getXMLDocument()
          Deprecated. Returns a DOMSource for the file defined by the xmlLocationKey
protected  javax.xml.transform.dom.DOMSource getXMLDocumentFromInfoTable()
          Deprecated. Gets the XML Document from Info table matching key xmlDocInfoName
protected  void init(java.lang.String aXSLLocationKey, java.lang.String aXMLLocationKey, java.lang.String aXMLDocInfoName, java.lang.String aTagName)
          Deprecated. Common method invoked by the Constructors.
static void main(java.lang.String[] args)
          Deprecated.  
protected  void postStart()
          Deprecated. Dummy Implementation
protected  void printPage(java.io.PrintWriter out)
          Deprecated. Transforms XML using XSL.
protected  void registerInfo()
          Deprecated. Register all ProcessParameters(XMLDocument) and potential ProcessResults(GENERICTEXTRESULT).
protected  java.lang.String setContentType()
          Deprecated. Sets Content Type to oracle.clex.util.ContentTypes.TEXTXML
protected  void setCreatePageResult(java.lang.String result)
          Deprecated. Sets the output string
 
Methods inherited from class oracle.clex.process.CreateGenericTextPage
preStart
 
Methods inherited from class oracle.clex.process.CreatePage
buildTransitionTable, getPageId, lookupPageLocation, registerProcesses, start
 
Methods inherited from class oracle.cle.process.ParentProcess
addTransition, clone, doSkip, getChildren, getEndStates, getInitialState, getSkipable, isReady, processParameters, processResults, registerProcess, setInitialState, setSkipable, skip
 
Methods inherited from class oracle.cle.process.GenericProcess
getBooleanInfo, getFloatInfo, getInfo, getInfo, getInfo, getInfoValue, getInfoValue, getInfoValueFromController, getInfoValueFromService, getIntegerInfo, getParameterNamed, getParameters, getParent, getParents, getResultNamed, getResults, getSessionId, getStringInfo, processParameters, processResults, registerBooleanParameter, registerBooleanResult, registerIntegerParameter, registerIntegerResult, registerParameter, registerProcessInfo, registerResult, registerStringArrayParameter, registerStringArrayResult, registerStringParameter, registerStringParameter, registerStringResult, registerStringResult, retrieveStringParameter, runTest, setParent, setResult, setResult, setResult
 
Methods inherited from class oracle.cle.process.Process
addCondition, addProcess, cloneProcess, debug, generateFailureCondition, generateSuccessCondition, getClassname, getCondition, getConditions, getIconName, getImageName, getName, getProcesses, getProcessNamed, getStateMachine, hashCode, isEndState, removeCondition, removeCondition, reportException, returnCondition, setCondition, setCondition, setEndState, setName, setService, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.cle.process.Parent
getInfo, getName, getParents
 
Methods inherited from interface oracle.cle.process.Child
getParameters, getParent, getParents, getResults, setParent
 

Field Detail

xslLocationKey

protected java.lang.String xslLocationKey
Deprecated. 

xmlLocationKey

protected java.lang.String xmlLocationKey
Deprecated. 

tagName

protected java.lang.String tagName
Deprecated. 

xmlDocInfoName

protected java.lang.String xmlDocInfoName
Deprecated. 
Constructor Detail

CreateXMLPage

public CreateXMLPage()
Deprecated. 

CreateXMLPage

public CreateXMLPage(java.lang.String aXSLLocationKey,
                     java.lang.String aXMLLocationKey)
Deprecated. 
Constructor with XSLLocation and XMLLocation information

CreateXMLPage

public CreateXMLPage(java.lang.String aXSLLocationKey,
                     java.lang.String aXMLDocInfoName,
                     java.lang.String aTagName)
Deprecated. 
Constructor with XSLLocation, XMLDocument key and the tagname
Method Detail

init

protected void init(java.lang.String aXSLLocationKey,
                    java.lang.String aXMLLocationKey,
                    java.lang.String aXMLDocInfoName,
                    java.lang.String aTagName)
Deprecated. 
Common method invoked by the Constructors. Registers Parameter values in the Info table

printPage

protected void printPage(java.io.PrintWriter out)
Deprecated. 
Transforms XML using XSL. Taken from Chris Chelliah's TransformXML
Overrides:
printPage in class CreatePage
Parameters:
java.io.PrintWriter -  

getXMLDocument

protected javax.xml.transform.dom.DOMSource getXMLDocument()
Deprecated. 
Returns a DOMSource for the file defined by the xmlLocationKey

getDocumentFromFile

protected javax.xml.transform.dom.DOMSource getDocumentFromFile(java.lang.String fileURLString)
Deprecated. 
Returns a DOMSource for a given file

getXMLDocumentFromInfoTable

protected javax.xml.transform.dom.DOMSource getXMLDocumentFromInfoTable()
Deprecated. 
Gets the XML Document from Info table matching key xmlDocInfoName

registerInfo

protected void registerInfo()
Deprecated. 
Register all ProcessParameters(XMLDocument) and potential ProcessResults(GENERICTEXTRESULT).
Overrides:
registerInfo in class CreateGenericTextPage

postStart

protected void postStart()
Deprecated. 
Dummy Implementation
Overrides:
postStart in class CreatePage

main

public static void main(java.lang.String[] args)
Deprecated. 

setCreatePageResult

protected void setCreatePageResult(java.lang.String result)
Deprecated. 
Sets the output string
Overrides:
setCreatePageResult in class CreatePage

setContentType

protected java.lang.String setContentType()
Deprecated. 
Sets Content Type to oracle.clex.util.ContentTypes.TEXTXML
Overrides:
setContentType in class CreateGenericTextPage


Copyright © 2003 ORACLE Corp. All Rights Reserved.