oracle.clex.process
Class CreateGenericTextPage

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

public abstract class CreateGenericTextPage
extends CreatePage

This class, together with oracle.clex.process.CreateGenericBinaryPage, provides an open content type structure for the MVC Framework. All Create...Page processes should extend either this class or CreateGenericBinaryPage. Subclasses need to implement the setContentType() method, returning a String that is the mime type of the end result the process is to display. For example, CreateHTMLPage's setContentType() returns "text/html", the mime type for an HTML page.

See Also:
Serialized Form

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
CreateGenericTextPage()
           
 
Method Summary
protected  void preStart()
          We set the results for the result type and content type for all subclasses here.
protected  void registerInfo()
          Register the information that the process is interested in and declare any of the results(CONTENTTYPE) that this Process will produce.
protected abstract  java.lang.String setContentType()
          Subclasses should return their mime type, "text/html" for example, in this method.
 
Methods inherited from class oracle.clex.process.CreatePage
buildTransitionTable, getPageId, lookupPageLocation, postStart, printPage, registerProcesses, setCreatePageResult, 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
 

Constructor Detail

CreateGenericTextPage

public CreateGenericTextPage()
Method Detail

registerInfo

protected void registerInfo()
Register the information that the process is interested in and declare any of the results(CONTENTTYPE) that this Process will produce.
Overrides:
registerInfo in class CreatePage

preStart

protected void preStart()
We set the results for the result type and content type for all subclasses here. PreStart() is called by CreatePage.
Overrides:
preStart in class CreatePage

setContentType

protected abstract java.lang.String setContentType()
Subclasses should return their mime type, "text/html" for example, in this method.


Copyright © 2003 ORACLE Corp. All Rights Reserved.