|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.xreporter.report.instance.InputField
Constructor Summary | |
InputField()
|
Method Summary | |
abstract void |
generateInfoSaxFragment(org.xml.sax.ContentHandler contentHandler,
ExecutionContext executionContext,
ResourceHandle resourceHandle)
Similar to generateSaxFragment, but only contains the state of the inputfield, not other information like the datatype or validation errors. |
abstract void |
generateSaxFragment(org.xml.sax.ContentHandler contentHandler,
ExecutionContext executionContext,
ResourceHandle resourceHandle)
Generates a piece of SAX representing the state and metadata of this inputfield. |
abstract DataType |
getDataType()
|
abstract java.lang.String |
getName()
|
abstract boolean |
hasValue()
|
abstract boolean |
isValid()
|
abstract void |
readStoredEntry(UserEntryStore userEntryStore,
User user,
ResourceHandle resourceHandle)
Allows an inputfield to initialize itself using a previously stored value. |
abstract void |
reset()
|
abstract void |
storeEntry(UserEntryStore userEntryStore,
User user)
Allows an inputfield to store its value into the user entry store. |
abstract void |
storeState(ReportState reportState)
|
abstract void |
submit(java.util.Map values,
ExecutionContext executionContext)
Same as submit(values, executionContext, false). |
abstract void |
submit(java.util.Map values,
ExecutionContext executionContext,
boolean rawLocale)
Submit (user input) values to this inputField. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InputField()
Method Detail |
public abstract java.lang.String getName()
public abstract void generateSaxFragment(org.xml.sax.ContentHandler contentHandler, ExecutionContext executionContext, ResourceHandle resourceHandle) throws java.lang.Exception
java.lang.Exception
public abstract void generateInfoSaxFragment(org.xml.sax.ContentHandler contentHandler, ExecutionContext executionContext, ResourceHandle resourceHandle) throws org.xml.sax.SAXException
The purpose of this method is to include information about the InputFields on the output page. Hence this method should only be called after the containing step has been completed successfully.
org.xml.sax.SAXException
public abstract void submit(java.util.Map values, ExecutionContext executionContext)
public abstract void submit(java.util.Map values, ExecutionContext executionContext, boolean rawLocale)
values
- a Map wherein the values are Strings.rawLocale
- ignore the user locale and use the built-in default localepublic abstract boolean isValid()
public abstract boolean hasValue()
public abstract DataType getDataType()
public abstract void reset()
public abstract void readStoredEntry(UserEntryStore userEntryStore, User user, ResourceHandle resourceHandle) throws UserEntryStoreException
UserEntryStoreException
public abstract void storeEntry(UserEntryStore userEntryStore, User user) throws UserEntryStoreException
UserEntryStoreException
public abstract void storeState(ReportState reportState)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |