A B C D E F G H I L M N O P R S T U V W X

A

AbstractAttr - Class in adapforms.runtime.state.dom
Abstract class for creating simple DOM Attr instances, allowing subclasses to overwrite only those methods they need.
AbstractAttr() - Constructor for class adapforms.runtime.state.dom.AbstractAttr
 
AbstractDocument - Class in adapforms.runtime.state.dom
Abstract class for creating simple DOM Document instances, allowing subclasses to overwrite only those methods they need.
AbstractDocument() - Constructor for class adapforms.runtime.state.dom.AbstractDocument
 
AbstractElement - Class in adapforms.runtime.state.dom
Abstract class for creating simple DOM Element instances, allowing subclasses to overwrite only those methods they need.
AbstractElement() - Constructor for class adapforms.runtime.state.dom.AbstractElement
 
AbstractFormHook - Class in adapforms.runtime.events
Abstract class that can be extended for domain applications that do not wish to implement all the event types specified in FormHook.
AbstractFormHook() - Constructor for class adapforms.runtime.events.AbstractFormHook
 
AbstractInstanceCallback - Class in adapforms.runtime.events
Abstract class that can be extended for domain applications that do not wish to implement all the event types specified in InstanceCallback.
AbstractInstanceCallback() - Constructor for class adapforms.runtime.events.AbstractInstanceCallback
 
AbstractNode - Class in adapforms.runtime.state.dom
Abstract class for creating simple DOM Node instances, allowing subclasses to overwrite only those methods they need.
AbstractNode() - Constructor for class adapforms.runtime.state.dom.AbstractNode
 
AbstractTextNode - Class in adapforms.runtime.state.dom
Abstract class for creating simple DOM Text instances, allowing subclasses to overwrite only those methods they need.
AbstractTextNode() - Constructor for class adapforms.runtime.state.dom.AbstractTextNode
 
adapforms.annotation - package adapforms.annotation
Annotations used to provide the form parser with additional information, when parsing bean types.
adapforms.exceptions - package adapforms.exceptions
Provides a range of exceptions used both internally and externally by the framework.
adapforms.form - package adapforms.form
Representation of static uninitialized adaptive forms.
adapforms.form.elements - package adapforms.form.elements
Form element classes used for representing the static form tree structure.
adapforms.form.parser - package adapforms.form.parser
Provides parsers for loading and parsing adaptive forms in XML form, and creating bean types.
adapforms.runtime - package adapforms.runtime
Contains functionality used by the runtime system, responsible for handling user input, adapting forms etc.
adapforms.runtime.adaptations - package adapforms.runtime.adaptations
Adaptations created and used by the framework internally.
adapforms.runtime.events - package adapforms.runtime.events
Provides utility interfaces and classes for the framework to provide feedback to the domain application, allowing for real-time integration with the end user.
adapforms.runtime.i18n - package adapforms.runtime.i18n
Internationalization (i18n) features used by the runtime system.
adapforms.runtime.state - package adapforms.runtime.state
Holds internal state information for the runtime system.
adapforms.runtime.state.dom - package adapforms.runtime.state.dom
Generic and abstract classes used to implement the DOM model on top of the runtime state tree.
adapforms.runtime.validation - package adapforms.runtime.validation
Classes related to document validation.
adapforms.util - package adapforms.util
Various utility classes used internally.
adapforms.web - package adapforms.web
The core logic of the adapforms-web component.
adapforms.web.adaptations - package adapforms.web.adaptations
Web-specific adaptations extending the generic adaptation collection from adapforms-core.
adapforms.web.handlers - package adapforms.web.handlers
Internal handlers to which the AdapFormsServlet delegates assignments.
adapforms.web.handlers.xhtml - package adapforms.web.handlers.xhtml
Classes specific to the XHTML/AJAX user interface layer.
adapforms.web.util - package adapforms.web.util
Various utility classes used internally.
AdapFormsException - Exception in adapforms.exceptions
Indicates an error state occuring within the framework.
AdapFormsException(String) - Constructor for exception adapforms.exceptions.AdapFormsException
 
AdapFormsException(String, Exception) - Constructor for exception adapforms.exceptions.AdapFormsException
 
AdapFormsProperty - Annotation Type in adapforms.annotation
Annotation applied to get-methods of properties, for beans used in adaptive forms.
AdapFormsServlet - Class in adapforms.web
J2EE HTTP servlet for handling all interaction with the web client.
AdapFormsServlet() - Constructor for class adapforms.web.AdapFormsServlet
 
AdapFormsType - Annotation Type in adapforms.annotation
Setting default values of a bean type used in an adaptive form.
Adaptation - Interface in adapforms.runtime.adaptations
A single adaptation decided by the core framework, to be propagated to (and executed by) a modality-specific rendering engine.
AdaptationCycle - Class in adapforms.runtime.state
Holds information, primarily consisting of a list of adaptations, which is relevant only within a single adaptation cycle.
AdaptationCycle(FormInstance, StateTree) - Constructor for class adapforms.runtime.state.AdaptationCycle
 
adaptReadOnly(FormPath) - Method in class adapforms.runtime.state.AdaptationCycle
 
adaptRelevant(FormPath) - Method in class adapforms.runtime.state.AdaptationCycle
 
adaptStatus() - Method in class adapforms.runtime.state.AdaptationCycle
 
adaptSubmitActionTitle() - Method in class adapforms.runtime.state.AdaptationCycle
 
adaptValidation(FormPath) - Method in class adapforms.runtime.state.AdaptationCycle
 
adaptValue(FormPath) - Method in class adapforms.runtime.state.AdaptationCycle
 
addHook(String, FormHook) - Method in interface adapforms.runtime.FormInstance
Add a hook that will be triggered whenever the value of the form element, pointed to by the given path, changes value without causing a validation problem in the process.
addHook(FormHook) - Method in interface adapforms.runtime.FormInstance
Same as FormInstance.addHook(String, FormHook), but the hook is not bound to any specific path.
addHook(FormHook) - Method in class adapforms.runtime.FormInstanceImpl
 
addHook(String, FormHook) - Method in class adapforms.runtime.FormInstanceImpl
 
addHook(FormHook) - Method in class adapforms.runtime.state.StateTreeNode
 
addRepeatEntry() - Method in interface adapforms.runtime.ElementState
Create a new entry for a RepeatElement.
addRepeatEntry(FormPath, int, FormData) - Method in class adapforms.runtime.FormInstanceImpl
Create a new repeat entry.
addRepeatEntry() - Method in class adapforms.runtime.state.StateTreeNode
 
addRepeatEntry(int) - Method in class adapforms.runtime.state.StateTreeNode
 
addTemplate(String, FormElement) - Method in class adapforms.form.parser.ParserContext
Add a new template
adoptNode(Node) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
allowBlankChoice() - Method in class adapforms.form.elements.ChoiceElement
Allow the user to select the "blank" choice?
appendAdaptation(Adaptation) - Method in class adapforms.runtime.state.AdaptationCycle
Convenience method to append adaptations to the cycle list.
appendChild(Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
appendData(String) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
asMapping() - Method in class adapforms.runtime.FormData
Retrieve all values as a mapping from form paths to values.
asXML() - Method in class adapforms.runtime.FormData
Retrieve all values in an XML structure.

B

BeanConvertion - Class in adapforms.form.parser
Converts a JavaBean into a BeanType, which can be used as a form element in a BeanElement instance.
BeanConvertion() - Constructor for class adapforms.form.parser.BeanConvertion
 
BeanElement - Class in adapforms.form.elements
An element which is itself an element container.
BeanElement(String, SimpleLabel, BeanType) - Constructor for class adapforms.form.elements.BeanElement
 
BeanType - Class in adapforms.form.parser
A bean type used in BeanElement instances.
BeanType(Class<Object>, List<FormElement>) - Constructor for class adapforms.form.parser.BeanType
 
BooleanExpression - Class in adapforms.runtime.state
Represents a boolean expression that may be either a constant or an XPath expression that will evaluate to a boolean value.
BooleanExpression(boolean) - Constructor for class adapforms.runtime.state.BooleanExpression
Create a new constant expression
BooleanExpression(XPathExpression) - Constructor for class adapforms.runtime.state.BooleanExpression
Create a new XPath expression to be interpreted as a boolean.
BooleanValue - Enum in adapforms.annotation
Boolean value, that allows inheriting the default value.
buildError(String) - Method in class adapforms.form.elements.ValueHoldingElement
Utility method used by subclasses to construct a validation problem instance.
buildSingleError(String) - Method in class adapforms.form.elements.ValueHoldingElement
Utility method used by subclasses to construct a single validation problem instance and wrap it in a single-itemlist.

C

canHoldValue() - Method in class adapforms.runtime.state.StateTreeNode
Determine if the form element type this element refers to, actually can hold a value.
checkAccess(Object[], Object) - Static method in class adapforms.util.Util
Given a list of allowed roles and the current role of the instance, determine if access should be granted.
checkInitialized(boolean) - Method in class adapforms.runtime.FormInstanceImpl
Check if the instance has been initialized, and throw an exception if not (if expected=true), or if the instance has already been initialized and expected=false.
ChoiceElement - Class in adapforms.form.elements
Single- or multiple-choice form element.
ChoiceElement(String, SimpleLabel, List<ListItem>, boolean) - Constructor for class adapforms.form.elements.ChoiceElement
 
cleanUpSessions() - Static method in class adapforms.web.WebRuntime
Clean up any outdated sessions, to prevent a memory leak.
clone(String, SimpleLabel) - Method in class adapforms.form.elements.BeanElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.ChoiceElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.DateElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.DecimalElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.FormElement
Create a clone of the element, given a new ID and label.
clone(String, SimpleLabel) - Method in class adapforms.form.elements.GroupElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.HelpTextElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.IntegerElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.LabelElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.RepeatElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.TextElement
 
clone(String, SimpleLabel) - Method in class adapforms.form.elements.ToggleElement
 
clone() - Method in class adapforms.runtime.state.BooleanExpression
Create a complete clone of the instance.
clone() - Method in class adapforms.runtime.validation.ValidationRule
 
cloneFinalize(FormElement) - Method in class adapforms.form.elements.FormElement
When cloning an element, use this method to clone all common superclass parameters.
cloneFinalize(ValueHoldingElement) - Method in class adapforms.form.elements.ValueHoldingElement
When cloning a value-holding element, use this method to clone all common superclass parameters.
cloneNode(boolean) - Method in class adapforms.runtime.state.dom.AbstractNode
 
compareDocumentPosition(Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
compareTo(SortableItem<T>) - Method in class adapforms.util.SortableItem
 
compareTo(GUID) - Method in class adapforms.web.util.GUID
 
compileAdaptationList() - Method in class adapforms.runtime.state.AdaptationCycle
This will turn all the relevant contained meta-data into an ordered list of adaptations that reflect every change relevant to the client within this cycle.
Controller - Interface in adapforms.web.handlers
Control handler: Handles user events (input data) from the client, and is responsible for notifying the framework, this updating and adapting the document etc., and replying to the web client with any relevant adaptations..
convertBoolean(String) - Static method in class adapforms.util.Util
Attempt to convert a string into a boolean value.
convertValue(Object, Localization) - Method in class adapforms.form.elements.ChoiceElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.DateElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.DecimalElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.IntegerElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.LabelElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.TextElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.ToggleElement
 
convertValue(Object, Localization) - Method in class adapforms.form.elements.ValueHoldingElement
Given a raw input value, perform relevant conversions, so that the type integrity is preserved.
createAttribute(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createAttributeNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createBehaviourInstance() - Method in class adapforms.form.Form
Create a new instance of the FormBehaviour of the form.
createCDATASection(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createComment(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createDanish() - Static method in class adapforms.runtime.i18n.LocalizationFactory
Obtain the default Danish localization, containing Danish translations for all framework messages.
createdAt() - Method in interface adapforms.web.WebSession
When was this session created?
createdAt() - Method in class adapforms.web.WebSessionImpl
 
createDefault() - Static method in class adapforms.runtime.i18n.LocalizationFactory
Obtain the default localization, using English translations.
createDocument(String, String, DocumentType) - Method in class adapforms.runtime.state.dom.DOMImplementation
 
createDocumentFragment() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createDocumentType(String, String, String) - Method in class adapforms.runtime.state.dom.DOMImplementation
 
createElement(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createElementNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createEntityReference(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createInstance(InstanceCallback) - Method in class adapforms.form.Form
Create a concrete instance of the form that can be filled out and adapted.
createInstance(InstanceCallback, Localization) - Method in class adapforms.form.Form
Create a concrete instance of the form that can be filled out and adapted.
createProcessingInstruction(String, String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createTextNode(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
createXMLFactory() - Static method in class adapforms.util.Util
Obtain a pre-configured generic document builder factory for building and parsing XML documents.

D

DateElement - Class in adapforms.form.elements
Holds a single date.
DateElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.DateElement
 
DecimalElement - Class in adapforms.form.elements
Decimal number entry field.
DecimalElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.DecimalElement
 
DefaultTranslation - Interface in adapforms.runtime.i18n
Default mapping from translation keys to their English translation.
deleteData(int, int) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
displayMessageToUser(String) - Method in interface adapforms.runtime.FormInstance
Display a simple text message to the user of the form.
displayMessageToUser(String) - Method in class adapforms.runtime.FormInstanceImpl
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class adapforms.web.AdapFormsServlet
 
DOMImplementation - Class in adapforms.runtime.state.dom
DOM implementation skeleton, that basically reports that no features are available and denies the creation of new documents and document types.
DOMImplementation() - Constructor for class adapforms.runtime.state.dom.DOMImplementation
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class adapforms.web.AdapFormsServlet
 

E

ElementAdaptation - Class in adapforms.runtime.adaptations
Superclass of all adaptations, that deal with adapting a single form element, designated by the full path to the element.
ElementAdaptation(FormPath) - Constructor for class adapforms.runtime.adaptations.ElementAdaptation
 
ElementContainer - Interface in adapforms.form
Capability of acting as a container of FormElement instances.
ElementState - Interface in adapforms.runtime
Holds the current state of a form element within an active form instance.
elementState(FormPath) - Method in interface adapforms.runtime.FormInstance
Get the mutable state of a form element, given it's runtime path.
elementState(String) - Method in interface adapforms.runtime.FormInstance
 
elementState(String) - Method in class adapforms.runtime.FormInstanceImpl
 
elementState(FormPath) - Method in class adapforms.runtime.FormInstanceImpl
 
endAdaptationCycle() - Method in class adapforms.runtime.FormInstanceImpl
Called by the modality-specific layer at the end of each adaptation cycle, to collect any adaptations that have been triggered due to the recent user input.
endAdaptationCycle() - Method in class adapforms.web.WebSessionImpl
Calls FormInstanceImpl.endAdaptationCycle(), and adds any web-specific adaptations.
endSession(WebSession) - Static method in class adapforms.web.WebRuntime
End a given web session.
equals(Object) - Method in class adapforms.form.FormPath
 
equals(GUID) - Method in class adapforms.web.util.GUID
 
eval(StateTreeNode) - Method in interface adapforms.runtime.state.StateTree.EnumerationFilter
Determine if a node should be filtered or not.
evaluate(Object) - Method in class adapforms.runtime.state.BooleanExpression
Evaluate the value of the expression based on the current form instance state.
EventUtils - Class in adapforms.runtime.events
Provides short-hand tools for handling framework events.
EventUtils() - Constructor for class adapforms.runtime.events.EventUtils
 
EventUtils.HookInvoker - Interface in adapforms.runtime.events
Item capable of invoking an event on a supplied FormHook.
executeScript(String) - Method in interface adapforms.web.WebSession
Execute a fragment of JavaScript on the web client.
executeScript(String) - Method in class adapforms.web.WebSessionImpl
 

F

False() - Static method in class adapforms.runtime.state.BooleanExpression
Create a new expression with the initial constant value of false
findChild(String, boolean, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Local node lookup
findNode(FormPath) - Method in class adapforms.runtime.state.StateTree
Look up an existing node in the tree.
findOrCreateMetaNode(FormPath) - Method in class adapforms.runtime.state.StateTree
Look up an existing node in the tree, and create it as a meta-node, if none is found.
findOrCreateNode(FormPath) - Method in class adapforms.runtime.state.StateTree
Look up an existing node in the tree, and create it, if none is found.
Form - Class in adapforms.form
Generic representation of an adaptive form.
Form(String, List<FormElement>) - Constructor for class adapforms.form.Form
Create a form with the specified title and elements.
FormBehaviour - Interface in adapforms.form
Defines a class that contains behavioural logic specific to a single form.
FormData - Class in adapforms.runtime
Contains a static representation of the data values contained in a form at a given point in time.
FormData(Form, File) - Constructor for class adapforms.runtime.FormData
Create an instance by loading and parsing the given XML file.
FormData(Form, InputStream) - Constructor for class adapforms.runtime.FormData
Create an instance by parsing the XML file read from the supplied stream.
FormData(Form, Document) - Constructor for class adapforms.runtime.FormData
Create an instance from the given XML document.
FormData(Map<String, String>) - Constructor for class adapforms.runtime.FormData
Create an instance from a mapping from paths to values.
FormElement - Class in adapforms.form.elements
A single elementary part of the structure of an adaptive form.
FormElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.FormElement
 
FormHook - Interface in adapforms.runtime.events
Defines a form hook, that may be registered with one or more paths in a form instance.
FormInstance - Interface in adapforms.runtime
An instantiated form, that holds form data, state etc.
FormInstanceImpl - Class in adapforms.runtime
Concrete implementation of FormInstance, with a few added methods for internal framework use.
FormInstanceImpl(Form, InstanceCallback, Localization) - Constructor for class adapforms.runtime.FormInstanceImpl
Create a new form instance, given a form.
FormParser - Class in adapforms.form.parser
Parses adaptive forms from XML files into Form instances.
FormParser() - Constructor for class adapforms.form.parser.FormParser
 
FormPath - Class in adapforms.form
Represents a form path, pointing to a single specific form element within an adaptive form.
FormPath(String) - Constructor for class adapforms.form.FormPath
Create a new path instance.
FormPath.Part - Class in adapforms.form
Single part of a form path.
FormPath.Part(String) - Constructor for class adapforms.form.FormPath.Part
 
FormPath.Part(String, int) - Constructor for class adapforms.form.FormPath.Part
 
FormRuntimeException - Exception in adapforms.exceptions
Indicates an error occuring in the AdapForms runtime system.
FormRuntimeException(String) - Constructor for exception adapforms.exceptions.FormRuntimeException
 
FormRuntimeException(String, Exception) - Constructor for exception adapforms.exceptions.FormRuntimeException
 
FormStateException - Exception in adapforms.exceptions
Thrown when the current state of a FormInstance makes the requested action illegal.
FormStateException(String) - Constructor for exception adapforms.exceptions.FormStateException
 
FormStateException(String, Exception) - Constructor for exception adapforms.exceptions.FormStateException
 
FormStatus - Enum in adapforms.runtime
Represents the current overall status of a FormInstance.
FormStatusAdaptation - Class in adapforms.runtime.adaptations
The overall status of the form instance has changed.
FormStatusAdaptation(FormStatus, FormInstance) - Constructor for class adapforms.runtime.adaptations.FormStatusAdaptation
Create a new adaptation.

G

getAllValidationErrors(FormPath) - Method in class adapforms.runtime.FormInstanceImpl
Get a collection of all validation errors in the given sub-form.
getAllValidationProblems(FormPath, boolean) - Method in class adapforms.runtime.state.StateTree
Retrieve a collection of all validation problems in the sub-form rooted at the specified path.
getAttribute(String) - Method in interface adapforms.runtime.FormInstance
Retrieve a stored attribute set on this instance.
getAttribute(String) - Method in class adapforms.runtime.FormInstanceImpl
 
getAttribute(String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
getAttributeNode(String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
getAttributeNodeNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
getAttributeNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
getAttributes() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getBaseURI() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getBeanClass() - Method in class adapforms.form.parser.BeanType
The bean class used as source of the type.
getCallback() - Method in class adapforms.runtime.FormInstanceImpl
 
getChildNodes() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getChildNodes() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getChildren() - Method in class adapforms.runtime.state.StateTreeNode
Get the map of the children in the tree.
getChoices() - Method in class adapforms.form.elements.ChoiceElement
Possible choices.
getCompleteServletPath() - Static method in class adapforms.web.AdapFormsServlet
Get the complete servlet path, including the context path within the webserver.
getContents() - Method in interface adapforms.runtime.FormInstance
Retrieve a snapshot of all the non-null values entered into the form at the time of invocation.
getContents() - Method in class adapforms.runtime.FormInstanceImpl
 
getController() - Static method in class adapforms.web.AdapFormsServlet
Get the controller currently being used.
getCriteria() - Method in class adapforms.runtime.validation.ValidationRule
Get the criteria to use for validation.
getCurrentCycle() - Method in class adapforms.runtime.FormInstanceImpl
Get a reference to the currently active adaptation cycle.
getData() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getDeepestLevel() - Method in class adapforms.form.Form
Find out how many path elements exists to the deepest level of the structure.
getDefault() - Method in class adapforms.form.elements.ChoiceElement
Get the default choice the form will be initialized with.
getDefault() - Method in class adapforms.form.elements.DecimalElement
Default value when instantiating the form.
getDefault() - Method in class adapforms.form.elements.IntegerElement
Default value when instantiating the form.
getDefault() - Method in class adapforms.form.elements.LabelElement
Default value to be inserted in the form at instantiation.
getDefault() - Method in class adapforms.form.elements.TextElement
Default value to be inserted in the form at instantiation.
getDefault() - Method in class adapforms.form.elements.ToggleElement
Default value to be inserted into the form at instantiation.
getDefaultReadOnly() - Method in class adapforms.form.parser.ParserContext
 
getDefaultRelevant() - Method in class adapforms.form.parser.ParserContext
 
getDefaultRequired() - Method in class adapforms.form.parser.ParserContext
 
getDefaultRolesRead() - Method in class adapforms.form.parser.ParserContext
 
getDefaultRolesWrite() - Method in class adapforms.form.parser.ParserContext
 
getDescription() - Method in class adapforms.runtime.adaptations.FormStatusAdaptation
Get a textual representation of the status, to display to the user
getDetails() - Method in exception adapforms.exceptions.InvalidPathException
Error details, or null if not available.
getDoctype() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getDocumentElement() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getDocumentElement() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getDocumentURI() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getDocumentURI() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getDomConfig() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getDOMDocument() - Method in class adapforms.runtime.state.StateTree
Get the DOM Document representation of this tree.
getDOMElement() - Method in class adapforms.runtime.state.StateTreeNode
Get the DOM Element representation of this node.
getDOMState() - Method in interface adapforms.runtime.FormInstance
Obtain a reference to the internal state tree in form of a DOM document.
getDOMState() - Method in class adapforms.runtime.FormInstanceImpl
 
getElementById(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getElementID() - Method in class adapforms.form.elements.FormElement
Get the ID of the element.
getElementPath() - Method in class adapforms.runtime.adaptations.ElementAdaptation
The full path of the form element to be adapted.
getElements() - Method in interface adapforms.form.ElementContainer
Ordered list of form elements contained in this instance.
getElements() - Method in class adapforms.form.elements.BeanElement
 
getElements() - Method in class adapforms.form.elements.GroupElement
 
getElements() - Method in class adapforms.form.elements.RepeatElement
 
getElements() - Method in class adapforms.form.Form
Ordered list of the elements that make up the structure of the form.
getElements() - Method in class adapforms.form.parser.BeanType
 
getElementsByTagName(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getElementsByTagName(String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
getElementsByTagNameNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getElementsByTagNameNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
getElementsRendered() - Method in class adapforms.web.WebSessionImpl
Get the mutable set of FormPaths corresponding to elements rendered to the client already.
getEntryID() - Method in class adapforms.runtime.adaptations.RepeatEntryAdaptation
The ID of the entry to create or remove.
getEntryLabel() - Method in class adapforms.form.elements.RepeatElement
The label to use for repeat entries.
getEntryPath() - Method in class adapforms.runtime.adaptations.RepeatEntryAdaptation
The full path to the entry in question.
getExpectedFormat() - Static method in class adapforms.form.elements.DateElement
A string representing the format expected for raw string dates.
getFeature(String, String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
getFeature(String, String) - Method in class adapforms.runtime.state.dom.DOMImplementation
 
getFirstChild() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getFirstChild() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getForm() - Method in interface adapforms.runtime.FormInstance
The form that has is an instance of.
getForm() - Method in class adapforms.runtime.FormInstanceImpl
 
getFormData() - Method in class adapforms.runtime.state.StateTree
Create FormData instance by copying the data values from the tree.
getFormInstance() - Method in class adapforms.runtime.state.StateTree
Reference to the form instance, to which this state tree belongs.
getGlobalStatus() - Method in class adapforms.runtime.FormInstanceImpl
 
getGUID() - Method in interface adapforms.web.WebSession
The unique identifier of the web session.
getGUID() - Method in class adapforms.web.WebSessionImpl
 
getHooks() - Method in class adapforms.runtime.state.StateTreeNode
List all hooks registered with the given path.
getID() - Method in class adapforms.form.FormPath.Part
Get the base path element / ID.
getImplementation() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getImplementation() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getInitialValue() - Method in class adapforms.form.elements.ChoiceElement
 
getInitialValue() - Method in class adapforms.form.elements.DateElement
 
getInitialValue() - Method in class adapforms.form.elements.DecimalElement
 
getInitialValue() - Method in class adapforms.form.elements.IntegerElement
 
getInitialValue() - Method in class adapforms.form.elements.LabelElement
 
getInitialValue() - Method in class adapforms.form.elements.TextElement
 
getInitialValue() - Method in class adapforms.form.elements.ToggleElement
 
getInitialValue() - Method in class adapforms.form.elements.ValueHoldingElement
Get the value this element should be initialized with when the element is instantiated in the form instance.
getInputEncoding() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getInputEncoding() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getInstance() - Static method in class adapforms.runtime.state.dom.DOMImplementation
Get the singleton instance.
getInstance() - Method in interface adapforms.web.WebSession
Obtain the instance belonging to the session.
getInstance() - Method in class adapforms.web.WebSessionImpl
 
getLabel() - Method in class adapforms.form.elements.FormElement
Get the human-friendly label/title of the element.
getLastChild() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getLastChild() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getLastPart() - Method in class adapforms.form.FormPath
Return the last part of the path (rightmost part in string form).
getLength() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getLocale() - Method in class adapforms.runtime.i18n.Localization
The Locale to use for basic system translations and customization.
getLocalization() - Method in interface adapforms.runtime.FormInstance
Get the localization.
getLocalization() - Method in class adapforms.runtime.FormInstanceImpl
 
getLocalName() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getMaxLength() - Method in class adapforms.form.elements.TextElement
Maximum length of a valid value.
getMaxRepeats() - Method in class adapforms.form.elements.RepeatElement
Maximum number of repeats required.
getMaxValue() - Method in class adapforms.form.elements.DecimalElement
Maximum value allowed to be entered.
getMaxValue() - Method in class adapforms.form.elements.IntegerElement
Maximum value allowed to be entered.
getMessage() - Method in class adapforms.runtime.adaptations.UserMessageAdaptation
The message to send to the user.
getMessage() - Method in class adapforms.runtime.validation.ValidationProblem
The error message to display.
getMessage() - Method in class adapforms.runtime.validation.ValidationRule
Get the problem message to present to the user.
getMineType(String) - Method in class adapforms.web.handlers.ResourceLoader
Given a filename, return the corresponding MIME type.
getMinLength() - Method in class adapforms.form.elements.TextElement
Minimum length of a valid value.
getMinRepeats() - Method in class adapforms.form.elements.RepeatElement
Minimum number of repeats required.
getMinValue() - Method in class adapforms.form.elements.DecimalElement
Minimal value allowed to be entered.
getMinValue() - Method in class adapforms.form.elements.IntegerElement
Minimal value allowed to be entered.
getName() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getNamespaceURI() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getNamespaceURI() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getNextSibling() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getNodeName() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getNodeName() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getNodeName() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getNodeName() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getNodeType() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getNodeType() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getNodeType() - Method in class adapforms.runtime.state.dom.AbstractElement
 
getNodeType() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getNodeType() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getNodeValue() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getNodeValue() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getNodeValue() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getNodeValue() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getOwnerDocument() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getOwnerDocument() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getOwnerElement() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getParentNode() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getParentNode() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getParts() - Method in class adapforms.form.FormPath
Enumerate all parts of the runtime version of the path.
getPath() - Method in exception adapforms.exceptions.InvalidPathException
Get the path that has a problem.
getPath() - Method in interface adapforms.runtime.ElementState
Get the form path to which this state belongs.
getPath() - Method in class adapforms.runtime.state.StateTreeNode
 
getPattern() - Method in class adapforms.form.elements.TextElement
Regular expressions pattern (see Pattern) to use for value validation.
getPrefix() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getPrefix() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getPreviousSibling() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getProblems() - Method in class adapforms.runtime.adaptations.ValidationAdaptation
List all problems reported for the element.
getReadOnly() - Method in class adapforms.runtime.state.StateTreeNode
 
getRedirectURL() - Method in class adapforms.web.adaptations.WebRedirectAdaptation
The URL to redirect to.
getRelevant() - Method in class adapforms.runtime.state.StateTreeNode
 
getRelevantChildren(FormPath) - Method in class adapforms.runtime.state.StateTree
Enumerate all children with that are relevant below the given subtree.
getRenderer() - Static method in class adapforms.web.AdapFormsServlet
Get the renderer currently being used.
getRenderTitle() - Method in interface adapforms.web.WebSession
 
getRenderTitle() - Method in class adapforms.web.WebSessionImpl
 
getRepeatEntries() - Method in interface adapforms.runtime.ElementState
Return the ID's of all repeat entries that exist for the element.
getRepeatEntries(String) - Method in class adapforms.runtime.FormData
 
getRepeatEntries() - Method in class adapforms.runtime.state.StateTreeNode
 
getRepeatEntryID() - Method in class adapforms.form.FormPath.Part
Get the repeat entry ID.
getRequired() - Method in class adapforms.runtime.state.StateTreeNode
 
getRole() - Method in interface adapforms.runtime.FormInstance
Retrieve the current user role used by the instance.
getRole() - Method in class adapforms.runtime.FormInstanceImpl
 
getRolesRead() - Method in class adapforms.form.elements.FormElement
List of user roles allowed to read the value held in this element.
getRolesWrite() - Method in class adapforms.form.elements.ValueHoldingElement
List of user roles allowed to change the value held in this element.
getRoot() - Method in class adapforms.runtime.state.StateTree
Get the root node of the tree.
getRuntimeParent() - Method in class adapforms.form.FormPath
Get the parent path of this path in a runtime context.
getRuntimePath() - Method in class adapforms.form.FormPath
Get the runtime version of the path
getSchemaTypeInfo() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getSchemaTypeInfo() - Method in class adapforms.runtime.state.dom.AbstractElement
 
getScript() - Method in class adapforms.web.adaptations.WebExecuteScriptAdaptation
The JavaScript to execute.
getServletPath() - Static method in class adapforms.web.WebRuntime
Get the path of the AdapForms servlet/controller within the website context.
getSession(GUID) - Static method in class adapforms.web.WebRuntime
Retrieve a web session that has already been created using WebRuntime.startSession(FormInstance).
getSession(FormInstance) - Static method in class adapforms.web.WebRuntime
Retrieve a web session that has already been created using WebRuntime.startSession(FormInstance).
getSeverity() - Method in class adapforms.runtime.validation.ValidationProblem
The severity / type of the error.
getSeverity() - Method in class adapforms.runtime.validation.ValidationRule
Get the problem severity.
getSpecified() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getState() - Method in class adapforms.runtime.FormInstanceImpl
Access the state tree for this instance.
getStaticElement() - Method in class adapforms.runtime.state.StateTreeNode
Get a reference to the static form element this node represents.
getStaticParent() - Method in class adapforms.form.FormPath
Get the parent path of this path in a static context, that is the path pointing to the container of this element.
getStaticPath() - Method in class adapforms.form.FormPath
Get the static version of the path
getStatus() - Method in class adapforms.runtime.adaptations.FormStatusAdaptation
Determine the status to which the form instance just changed.
getStatus() - Method in interface adapforms.runtime.FormInstance
Determine the status of the instance.
getStatus() - Method in class adapforms.runtime.FormInstanceImpl
 
getStatusComplete() - Method in interface adapforms.runtime.FormInstance
Determine the complete status of the instance.
getStatusComplete() - Method in class adapforms.runtime.FormInstanceImpl
 
getStrictErrorChecking() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getStrictErrorChecking() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getSubmitActionTitle() - Method in interface adapforms.runtime.FormInstance
The title of the submit action.
getSubmitActionTitle() - Method in class adapforms.runtime.FormInstanceImpl
 
getTagName() - Method in class adapforms.runtime.state.dom.AbstractElement
 
getTemplate(String) - Method in class adapforms.form.parser.ParserContext
 
getText() - Method in class adapforms.form.elements.SimpleLabel
Get the human-readable text in its raw form.
getTextContent() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getTextContent() - Method in class adapforms.runtime.state.dom.AbstractNode
 
getTextContent() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getTitle() - Method in class adapforms.form.elements.ListItem
Human-readable title of the item.
getTitle() - Method in class adapforms.form.Form
Form title.
getTitle() - Method in class adapforms.runtime.adaptations.SubmitActionTitleAdaptation
The new title.
getTranslations() - Method in class adapforms.runtime.i18n.Localization
Get the translation mapping.
getType() - Method in class adapforms.form.elements.BeanElement
Get the BeanType this element refers to.
getUIFlags() - Method in class adapforms.form.elements.FormElement
Get User Interface (UI) specific flags, or null if none are set.
getUserData(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
getValidationProblems() - Method in class adapforms.runtime.state.StateTreeNode
List of current validation problems, if any.
getValidationRules() - Method in class adapforms.form.elements.ValueHoldingElement
Get the validation rules associated with this element.
getValidationRules() - Method in class adapforms.runtime.state.StateTreeNode
Get the list of complex validation rules.
getValue() - Method in class adapforms.form.elements.ListItem
Value of the item to be used programatically.
getValue() - Method in class adapforms.runtime.adaptations.ValueChangeAdaptation
The new value to set.
getValue() - Method in interface adapforms.runtime.ElementState
Retrieve the value entered into the form element.
getValue() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
getValue() - Method in class adapforms.runtime.state.StateTreeNode
 
getValueAsBean() - Method in interface adapforms.runtime.ElementState
Given the path to a BeanElement in the form, retrieve its values as a newly instantiated value bean.
getValueAsBean(T) - Method in interface adapforms.runtime.ElementState
Same as ElementState.getValueAsBean(), but instead of instantiating a new bean, the instance given as a parameter will be updated by calling the relevant set-methods.
getValueAsBean() - Method in class adapforms.runtime.state.StateTreeNode
 
getValueAsBean(T) - Method in class adapforms.runtime.state.StateTreeNode
 
getWholeText() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
getWorkingDirectory() - Method in class adapforms.form.parser.ParserContext
Get the working directory.
getXmlEncoding() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getXmlEncoding() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getXmlStandalone() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getXmlStandalone() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getXmlVersion() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
getXmlVersion() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
getXPath() - Method in class adapforms.runtime.state.BooleanExpression
Get the associated XPath expression, or null if none.
getXPathEngine() - Static method in class adapforms.runtime.state.XPathManager
Obtain the framework-wide singleton reference to the selected XPath engine.
GroupElement - Class in adapforms.form.elements
Allows grouping of form elements.
GroupElement(String, SimpleLabel, List<FormElement>) - Constructor for class adapforms.form.elements.GroupElement
 
GUID - Class in adapforms.web.util
Globally Unique Identifier.
GUID() - Constructor for class adapforms.web.util.GUID
 
GUID(String) - Constructor for class adapforms.web.util.GUID
 
GUID(boolean) - Constructor for class adapforms.web.util.GUID
 

H

hasAttribute(String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
hasAttributeNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
hasAttributes() - Method in class adapforms.runtime.state.dom.AbstractDocument
 
hasAttributes() - Method in class adapforms.runtime.state.dom.AbstractNode
 
hasAttributes() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
hasChildNodes() - Method in class adapforms.runtime.state.dom.AbstractNode
 
hasChildNodes() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
hasChildNodes() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
hasFeature(String, String) - Method in class adapforms.runtime.state.dom.DOMImplementation
 
hashCode() - Method in class adapforms.form.FormPath
 
hashCode() - Method in class adapforms.web.util.GUID
 
hasNonEmptyValue() - Method in interface adapforms.runtime.ElementState
Determine if the element currently has a non-empty value.
hasNonEmptyValue() - Method in class adapforms.runtime.state.StateTreeNode
 
HelpTextElement - Class in adapforms.form.elements
Help text displayed inline in the form.
HelpTextElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.HelpTextElement
 
htmlEscape(String) - Static method in class adapforms.web.util.WebUtil
Escape a XHXML literal.

I

importNode(Node, boolean) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
InconsistentFormException - Exception in adapforms.exceptions
Thrown if the form has consistency problems, meaning that it will not be able to be instantiated and used in practice.
InconsistentFormException(String) - Constructor for exception adapforms.exceptions.InconsistentFormException
 
initialize() - Method in interface adapforms.runtime.FormInstance
Initialize the instance, inserting default values.
initialize(FormData) - Method in interface adapforms.runtime.FormInstance
Initialize the form inserting the values from the given initial contents instead of using default values.
initialize() - Method in class adapforms.runtime.FormInstanceImpl
 
initialize(FormData) - Method in class adapforms.runtime.FormInstanceImpl
 
initializeValidationRules(List<ValidationRule>) - Method in class adapforms.runtime.state.StateTreeNode
Set list of complex validation rules for this element, The list will be deep-cloned.
insertBefore(Node, Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
insertData(int, String) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
InstanceCallback - Interface in adapforms.runtime.events
Callback that handles framework events from one or more FormInstances.
IntegerElement - Class in adapforms.form.elements
Integer number entry field.
IntegerElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.IntegerElement
 
InvalidPathException - Exception in adapforms.exceptions
Indicates that a specified path does not exist for the current form, is malformed or is used in a context where it does not make sense.
InvalidPathException(String) - Constructor for exception adapforms.exceptions.InvalidPathException
 
InvalidPathException(FormPath) - Constructor for exception adapforms.exceptions.InvalidPathException
 
InvalidPathException(String, String) - Constructor for exception adapforms.exceptions.InvalidPathException
 
InvalidPathException(String, Exception) - Constructor for exception adapforms.exceptions.InvalidPathException
 
invoke(FormHook) - Method in interface adapforms.runtime.events.EventUtils.HookInvoker
Invoke the event.
invoke(HttpServletRequest, HttpServletResponse, WebSession) - Method in interface adapforms.web.handlers.Controller
Invoke the handler.
invoke(HttpServletRequest, HttpServletResponse, WebSession, RenderingType) - Method in interface adapforms.web.handlers.Renderer
Invoke the handler.
invoke(HttpServletRequest, HttpServletResponse, WebSession) - Method in class adapforms.web.handlers.xhtml.XHTMLController
 
invoke(HttpServletRequest, HttpServletResponse, WebSession, RenderingType) - Method in class adapforms.web.handlers.xhtml.XHTMLRenderer
 
invokeHooks(FormInstance, FormPath, EventUtils.HookInvoker) - Static method in class adapforms.runtime.events.EventUtils
Invoke the relevant event(s) on all subscribing hooks.
isConstant() - Method in class adapforms.runtime.state.BooleanExpression
Determine if the expression is a constant.
isDefaultNamespace(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
isElementContentWhitespace() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
isEmptyValue(Object) - Method in class adapforms.form.elements.ValueHoldingElement
Given a value (possibly null), determine if the value is considered to be an "empty" value.
isEqualNode(Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
isEqualNode(Node) - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
isId() - Method in class adapforms.runtime.state.dom.AbstractAttr
 
isMeta() - Method in class adapforms.runtime.state.StateTreeNode
Determine if this is merely a meta node .
isMultiChoice() - Method in class adapforms.form.elements.ChoiceElement
Determine the element type.
isNewEntry() - Method in class adapforms.runtime.adaptations.RepeatEntryAdaptation
True if a new entry should be created, false if an existing entry should be removed.
isReadOnly() - Method in class adapforms.form.elements.ValueHoldingElement
Is the user allowed to change the value held in this element?
isReadOnly() - Method in class adapforms.runtime.adaptations.ReadOnlyAdaptation
New readonly setting.
isReadOnly() - Method in interface adapforms.runtime.ElementState
Determine if the user is allowed to change the value of the form element.
isReadOnly() - Method in class adapforms.runtime.state.StateTreeNode
 
isRelevant() - Method in class adapforms.form.elements.FormElement
Determine if the element is relevant by default, that is, on form instantiation time.
isRelevant() - Method in class adapforms.runtime.adaptations.RelevantAdaptation
Whether the element is relevant to the user in the current form state.
isRelevant(boolean) - Method in interface adapforms.runtime.ElementState
Check if an element is currently relevant, optionally taking inheritance into account.
isRelevant(boolean) - Method in class adapforms.runtime.state.StateTreeNode
 
isRepeatEntry() - Method in class adapforms.form.FormPath.Part
Determine if the part has a repeat entry ID.
isRequired() - Method in class adapforms.form.elements.ValueHoldingElement
Is the user required to enter a value into this element?
isRequired() - Method in interface adapforms.runtime.ElementState
Determine if the user must enter a value into the element.
isRequired() - Method in class adapforms.runtime.state.StateTreeNode
 
isSameNode(Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
isSameNode(Node) - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
isSupported(String, String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
isValid() - Method in class adapforms.runtime.adaptations.ValidationAdaptation
Whether the element should be marked as being valid in the current form state.

L

LabelElement - Class in adapforms.form.elements
Read-only label.
LabelElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.LabelElement
 
ListItem - Class in adapforms.form.elements
A single selection item in a single-choice or multi-choice list (see ChoiceElement).
ListItem(String, String) - Constructor for class adapforms.form.elements.ListItem
 
Localization - Class in adapforms.runtime.i18n
Provides a localization mechanism for adaptive forms.
Localization(Locale, Properties) - Constructor for class adapforms.runtime.i18n.Localization
Create a new localization.
LocalizationFactory - Class in adapforms.runtime.i18n
Factory class for producing generic pre-configured localizations, containing default translations and locales for a given country or language.
LocalizationFactory() - Constructor for class adapforms.runtime.i18n.LocalizationFactory
 
lookupElement(FormPath) - Method in class adapforms.form.Form
Given a form path, find the form element that corresponds to it.
lookupNamespaceURI(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
lookupPrefix(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 

M

marshallValue(Object) - Method in class adapforms.form.elements.ChoiceElement
 
marshallValue(Object) - Method in class adapforms.form.elements.DateElement
 
marshallValue(Object) - Method in class adapforms.form.elements.DecimalElement
 
marshallValue(Object) - Method in class adapforms.form.elements.IntegerElement
 
marshallValue(Object) - Method in class adapforms.form.elements.LabelElement
 
marshallValue(Object) - Method in class adapforms.form.elements.TextElement
 
marshallValue(Object) - Method in class adapforms.form.elements.ToggleElement
 
marshallValue(Object) - Method in class adapforms.form.elements.ValueHoldingElement
Given a value of the expected type, convert it to a string representation.

N

NAMESPACE_ADAPFORMS - Static variable in class adapforms.form.parser.FormParser
XML namespace used for Adaptive Forms.
normalize() - Method in class adapforms.runtime.state.dom.AbstractNode
 
normalizeDocument() - Method in class adapforms.runtime.state.dom.AbstractDocument
 

O

onRepeatEntryAdd(FormInstance, FormPath, int) - Method in class adapforms.runtime.events.AbstractFormHook
 
onRepeatEntryAdd(FormInstance, FormPath, int) - Method in interface adapforms.runtime.events.FormHook
A repeat entry has been added to the form.
onRepeatEntryRemove(FormInstance, FormPath, int) - Method in class adapforms.runtime.events.AbstractFormHook
 
onRepeatEntryRemove(FormInstance, FormPath, int) - Method in interface adapforms.runtime.events.FormHook
A repeat entry has been removed from the form.
onStatusChange(FormInstance) - Method in class adapforms.runtime.events.AbstractInstanceCallback
 
onStatusChange(FormInstance) - Method in interface adapforms.runtime.events.InstanceCallback
The overall status of the form instance has just changed.
onSubmit(FormInstance) - Method in class adapforms.runtime.events.AbstractInstanceCallback
 
onSubmit(FormInstance) - Method in interface adapforms.runtime.events.InstanceCallback
The user has submitted the form, and the domain application may choose to ignore it, or accept the submit.
onValueChange(FormInstance, ElementState) - Method in class adapforms.runtime.events.AbstractFormHook
 
onValueChange(FormInstance, ElementState) - Method in interface adapforms.runtime.events.FormHook
Invoked by the framework when the value of a form element changes (for each element that have had this hook added).
outputResource(HttpServletRequest, HttpServletResponse, String) - Method in class adapforms.web.handlers.ResourceLoader
Invoke the handler.

P

parseForm(String) - Static method in class adapforms.form.parser.FormParser
Parse a form from a named file.
parseForm(File) - Static method in class adapforms.form.parser.FormParser
Parse a form from a named local XML file.
parseForm(InputStream) - Static method in class adapforms.form.parser.FormParser
Parse a form from an XML input stream.
ParserContext - Class in adapforms.form.parser
Holds context data used by the FormParser when parsing XML files.
ParserContext() - Constructor for class adapforms.form.parser.ParserContext
 
ParserException - Exception in adapforms.exceptions
Thrown when the FormParser or related classes encounter en error during the parsing.
ParserException(String) - Constructor for exception adapforms.exceptions.ParserException
 
ParserException(String, Exception) - Constructor for exception adapforms.exceptions.ParserException
 
postInitialize(FormInstance) - Method in interface adapforms.form.FormBehaviour
Invoked just after the instance has been initialized.
preInitialize(FormInstance) - Method in interface adapforms.form.FormBehaviour
Invoked just before the initialization of the specified instance.
prependAdaptation(Adaptation) - Method in class adapforms.runtime.state.AdaptationCycle
Convenience method to append adaptations to the cycle list.
prettyPrint() - Method in class adapforms.runtime.state.StateTree
Pretty-print the tree recursively.
prettyPrintStructure() - Method in class adapforms.form.Form
Pretty-print the form structure (form elements) to System.out.
PropertyModifier - Enum in adapforms.annotation
Behaviour to describe how a bean property should be treated in an adaptive form.

R

ReadOnlyAdaptation - Class in adapforms.runtime.adaptations
Change the readonly state of an element
ReadOnlyAdaptation(FormPath, boolean) - Constructor for class adapforms.runtime.adaptations.ReadOnlyAdaptation
 
redirectClient(String) - Method in interface adapforms.web.WebSession
Force the user web browser page containing the form to redirect to the specified URL.
redirectClient(String) - Method in class adapforms.web.WebSessionImpl
 
reevaluateXPaths() - Method in class adapforms.runtime.state.StateTree
Re-evaluate all XPath expressions.
reevaluateXPaths() - Method in class adapforms.runtime.state.XPathManager
Reevaluate all XPath boolean expressions in the state tree.
RelevantAdaptation - Class in adapforms.runtime.adaptations
Changing the relevance (visibility) of a form element.
RelevantAdaptation(FormPath, boolean) - Constructor for class adapforms.runtime.adaptations.RelevantAdaptation
 
removeAttribute(String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
removeAttributeNode(Attr) - Method in class adapforms.runtime.state.dom.AbstractElement
 
removeAttributeNS(String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
removeChild(Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
removeChild(String) - Method in class adapforms.runtime.state.StateTreeNode
Remove a child from the tree
removeHook(FormHook) - Method in class adapforms.runtime.state.StateTreeNode
Remove a given hook from the element, if it exists in the list.
removeRepeatEntry(int) - Method in interface adapforms.runtime.ElementState
Remove the tree under a repeat entry, denoted by the given path.
removeRepeatEntry(FormPath) - Method in class adapforms.runtime.FormInstanceImpl
 
removeRepeatEntry(int) - Method in class adapforms.runtime.state.StateTreeNode
 
removeTree(FormPath) - Method in class adapforms.runtime.state.StateTree
Delete an entire subtree.
renameNode(Node, String, String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
Renderer - Interface in adapforms.web.handlers
Rendering handler: Responsible for rendering the form to the web client.
RenderingType - Enum in adapforms.web.handlers
Denotes the type of rendering to be performed.
renderRepeatEntry(WebSession, FormPath, PrintWriter, RepeatElement) - Method in class adapforms.web.handlers.xhtml.XHTMLRenderer
Used by the XHTMLController to render repeat entries.
RepeatElement - Class in adapforms.form.elements
Repeated element container.
RepeatElement(String, SimpleLabel, List<FormElement>) - Constructor for class adapforms.form.elements.RepeatElement
 
RepeatEntryAdaptation - Class in adapforms.runtime.adaptations
Create new or delete existing repeat entry from the RepeatElement denoted by the path given.
RepeatEntryAdaptation(FormPath, FormPath, boolean, int) - Constructor for class adapforms.runtime.adaptations.RepeatEntryAdaptation
 
replaceChild(Node, Node) - Method in class adapforms.runtime.state.dom.AbstractNode
 
replaceData(int, int, String) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
replaceWholeText(String) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
ResourceLoader - Class in adapforms.web.handlers
Resource load handler: Responsible for outputting static resources to the web client.
ResourceLoader() - Constructor for class adapforms.web.handlers.ResourceLoader
 
root - Static variable in class adapforms.form.FormPath
The path representing the root.

S

saveAsXML(File) - Method in class adapforms.runtime.FormData
Save the contents as an XML file to disk.
setAllowBlankChoice(boolean) - Method in class adapforms.form.elements.ChoiceElement
Allow the user to select the "blank" choice?
setAttribute(String, Object) - Method in interface adapforms.runtime.FormInstance
Store an attribute (name, value pair) on this instance.
setAttribute(String, Object) - Method in class adapforms.runtime.FormInstanceImpl
 
setAttribute(String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setAttributeNode(Attr) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setAttributeNodeNS(Attr) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setAttributeNS(String, String, String) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setBehaviourClass(Class<FormBehaviour>) - Method in class adapforms.form.Form
Set class representing the behaviour of this form.
setCallback(InstanceCallback) - Method in interface adapforms.runtime.FormInstance
Define a new instance callback that will receive form events.
setCallback(InstanceCallback) - Method in class adapforms.runtime.FormInstanceImpl
 
setData(String) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
setDefault(String) - Method in class adapforms.form.elements.ChoiceElement
See ChoiceElement.getDefault()
setDefault(Double) - Method in class adapforms.form.elements.DecimalElement
See DecimalElement.getDefault()
setDefault(Long) - Method in class adapforms.form.elements.IntegerElement
See IntegerElement.getDefault()
setDefault(String) - Method in class adapforms.form.elements.LabelElement
See LabelElement.getDefault()
setDefault(String) - Method in class adapforms.form.elements.TextElement
See TextElement.getDefault()
setDefault(boolean) - Method in class adapforms.form.elements.ToggleElement
See ToggleElement.getDefault().
setDefaultReadOnly(BooleanExpression) - Method in class adapforms.form.parser.ParserContext
 
setDefaultRelevant(BooleanExpression) - Method in class adapforms.form.parser.ParserContext
 
setDefaultRequired(BooleanExpression) - Method in class adapforms.form.parser.ParserContext
 
setDefaultRolesRead(String[]) - Method in class adapforms.form.parser.ParserContext
 
setDefaultRolesWrite(String[]) - Method in class adapforms.form.parser.ParserContext
 
setDocumentURI(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
setEntryLabel(SimpleLabel) - Method in class adapforms.form.elements.RepeatElement
 
setIdAttribute(String, boolean) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setIdAttributeNode(Attr, boolean) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setIdAttributeNS(String, String, boolean) - Method in class adapforms.runtime.state.dom.AbstractElement
 
setMaxLength(int) - Method in class adapforms.form.elements.TextElement
See TextElement.getMaxLength().
setMaxRepeats(int) - Method in class adapforms.form.elements.RepeatElement
See RepeatElement.getMaxRepeats().
setMaxValue(Double) - Method in class adapforms.form.elements.DecimalElement
See DecimalElement.getMaxValue().
setMaxValue(long) - Method in class adapforms.form.elements.IntegerElement
See IntegerElement.getMaxValue().
setMeta(boolean) - Method in class adapforms.runtime.state.StateTreeNode
Toggle the meta-bit on this node.
setMinLength(int) - Method in class adapforms.form.elements.TextElement
See TextElement.getMinLength().
setMinRepeats(int) - Method in class adapforms.form.elements.RepeatElement
See RepeatElement.getMinRepeats().
setMinValue(Double) - Method in class adapforms.form.elements.DecimalElement
See DecimalElement.getMinValue().
setMinValue(long) - Method in class adapforms.form.elements.IntegerElement
See IntegerElement.getMinValue().
setNodeValue(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
setPattern(String) - Method in class adapforms.form.elements.TextElement
Set the validation regex pattern.
setPrefix(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
setReadOnly(BooleanExpression) - Method in class adapforms.form.elements.ValueHoldingElement
See ValueHoldingElement.isReadOnly().
setReadOnly(boolean) - Method in interface adapforms.runtime.ElementState
Set the "read-only" flag of a form element.
setReadOnly(BooleanExpression, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Same as StateTreeNode.setReadOnly(boolean), but allows XPath expressions too.
setReadOnly(boolean) - Method in class adapforms.runtime.state.StateTreeNode
 
setRelevant(BooleanExpression) - Method in class adapforms.form.elements.FormElement
 
setRelevant(boolean) - Method in interface adapforms.runtime.ElementState
Set the "relevant" flag of the element.
setRelevant(boolean) - Method in class adapforms.runtime.state.StateTreeNode
 
setRelevant(BooleanExpression, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Same as StateTreeNode.setRelevant(boolean), but allows XPath expressions too.
setRenderTitle(boolean) - Method in interface adapforms.web.WebSession
Specify whether the title of the document should be rendered to the web client.
setRenderTitle(boolean) - Method in class adapforms.web.WebSessionImpl
 
setRequired(BooleanExpression) - Method in class adapforms.form.elements.ValueHoldingElement
See ValueHoldingElement.isRequired().
setRequired(boolean) - Method in interface adapforms.runtime.ElementState
Set the "required" flag of the element.
setRequired(boolean) - Method in class adapforms.runtime.state.StateTreeNode
 
setRequired(BooleanExpression, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Same as StateTreeNode.setRequired(boolean), but allows XPath expressions too.
setRole(String) - Method in interface adapforms.runtime.FormInstance
Change the user role of the instance.
setRole(String) - Method in class adapforms.runtime.FormInstanceImpl
 
setRolesRead(String[]) - Method in class adapforms.form.elements.FormElement
See FormElement.getRolesRead().
setRolesWrite(String[]) - Method in class adapforms.form.elements.ValueHoldingElement
See ValueHoldingElement.getRolesWrite().
setServletPath(String) - Static method in class adapforms.web.WebRuntime
Set the AdapForms servlet path.
setSingleValidationProblem(ValidationLevel, ValidationProblem, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Set a single validation problem only (clearing any existing ones).
setStrictErrorChecking(boolean) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
setSubmitActionTitle(String) - Method in interface adapforms.runtime.FormInstance
Change the title of the submission action.
setSubmitActionTitle(String) - Method in class adapforms.runtime.FormInstanceImpl
 
setTextContent(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
setTextContent(String) - Method in class adapforms.runtime.state.dom.AbstractNode
 
setUIFlags(String) - Method in class adapforms.form.elements.FormElement
Set the UI flags for this element.
setUseDefaultCSS(boolean) - Static method in class adapforms.web.WebRuntime
Specify if the built-in default CSS should be used or not.
setUserData(String, Object, UserDataHandler) - Method in class adapforms.runtime.state.dom.AbstractNode
 
setValidationProblem(ValidationProblem) - Method in interface adapforms.runtime.ElementState
Set a validation problem message for the element.
setValidationProblem(ValidationProblem) - Method in class adapforms.runtime.state.StateTreeNode
 
setValidationProblems(ValidationLevel, List<ValidationProblem>, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Set a validation problem, or clear it.
setValidationRules(List<ValidationRule>) - Method in class adapforms.form.elements.ValueHoldingElement
Set the validation rules associated with this element.
setValue(Object) - Method in interface adapforms.runtime.ElementState
Change the value of the element.
setValue(boolean) - Method in class adapforms.runtime.state.BooleanExpression
Change the value of the expression.
setValue(String) - Method in class adapforms.runtime.state.dom.AbstractAttr
 
setValue(Object) - Method in class adapforms.runtime.state.StateTreeNode
 
setValue(Object, boolean) - Method in class adapforms.runtime.state.StateTreeNode
Same as StateTreeNode.setValue(Object), but allows calls from initialization code that does not trigger hooks etc.
setValueFromBean(Object) - Method in interface adapforms.runtime.ElementState
Change the value of a form bean element (BeanElement).
setValueFromBean(Object) - Method in class adapforms.runtime.state.StateTreeNode
 
setWorkingDirectory(File) - Method in class adapforms.form.parser.ParserContext
Set the folder to use as working directory.
setXmlStandalone(boolean) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
setXmlVersion(String) - Method in class adapforms.runtime.state.dom.AbstractDocument
 
SimpleLabel - Class in adapforms.form.elements
Simple label that is displayed to the user.
SimpleLabel(String) - Constructor for class adapforms.form.elements.SimpleLabel
Create a new label with the given text.
SortableItem<T> - Class in adapforms.util
Class for linking a value with a sorting key.
SortableItem(int, T) - Constructor for class adapforms.util.SortableItem
 
sortKey() - Method in class adapforms.util.SortableItem
 
splitText(int) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
startSession(FormInstance) - Static method in class adapforms.web.WebRuntime
Start a new web session, given a FormInstance.
StateTree - Class in adapforms.runtime.state
Holds the collective state and entered values for a FormInstance.
StateTree(FormInstanceImpl) - Constructor for class adapforms.runtime.state.StateTree
Create a new state tree belonging to the specified form instance.
StateTree.DOMStateDocument - Class in adapforms.runtime.state
DOM document representation of the state tree, used for XPath evaluation etc.
StateTree.DOMStateDocument() - Constructor for class adapforms.runtime.state.StateTree.DOMStateDocument
 
StateTree.EnumerationAction - Enum in adapforms.runtime.state
Which action should be taken when continuing enumeration with a StateTree.EnumerationFilter.
StateTree.EnumerationFilter - Interface in adapforms.runtime.state
Filter to use when enumerating nodes,
StateTreeNode - Class in adapforms.runtime.state
Holds all data and meta-data about a single node in a StateTree.
StateTreeNode(StateTree, StateTreeNode, FormPath, boolean) - Constructor for class adapforms.runtime.state.StateTreeNode
Create a new data node
STATUS_INCOMPLETE - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
STATUS_INVALID - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
STATUS_VALID - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
STATUS_VALID_WARNING - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
submit() - Method in class adapforms.runtime.FormInstanceImpl
The user submits the form.
SubmitActionTitleAdaptation - Class in adapforms.runtime.adaptations
Change the title of the submit action.
SubmitActionTitleAdaptation(String) - Constructor for class adapforms.runtime.adaptations.SubmitActionTitleAdaptation
 
substringData(int, int) - Method in class adapforms.runtime.state.dom.AbstractTextNode
 

T

TextElement - Class in adapforms.form.elements
Text element: Holds any string value.
TextElement(String, SimpleLabel, boolean) - Constructor for class adapforms.form.elements.TextElement
 
ToggleElement - Class in adapforms.form.elements
Toggle element capable of holding a boolean value.
ToggleElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.ToggleElement
 
toogleFragmentEmulation(boolean) - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
Determine if this DOM Document should emulate a DOM DocumentFragment instead, having the child nodes of this one as "multiple roots".
toString() - Method in class adapforms.form.elements.BeanElement
 
toString() - Method in class adapforms.form.elements.ChoiceElement
 
toString() - Method in class adapforms.form.elements.DateElement
 
toString() - Method in class adapforms.form.elements.DecimalElement
 
toString() - Method in class adapforms.form.elements.FormElement
Used for pretty-printing the element.
toString() - Method in class adapforms.form.elements.GroupElement
 
toString() - Method in class adapforms.form.elements.HelpTextElement
 
toString() - Method in class adapforms.form.elements.IntegerElement
 
toString() - Method in class adapforms.form.elements.LabelElement
 
toString() - Method in class adapforms.form.elements.ListItem
 
toString() - Method in class adapforms.form.elements.RepeatElement
 
toString() - Method in class adapforms.form.elements.TextElement
 
toString() - Method in class adapforms.form.elements.ToggleElement
 
toString() - Method in class adapforms.form.Form
 
toString() - Method in class adapforms.form.FormPath.Part
 
toString() - Method in class adapforms.form.FormPath
 
toString() - Method in class adapforms.runtime.adaptations.FormStatusAdaptation
 
toString() - Method in class adapforms.runtime.adaptations.ReadOnlyAdaptation
 
toString() - Method in class adapforms.runtime.adaptations.RelevantAdaptation
 
toString() - Method in class adapforms.runtime.adaptations.RepeatEntryAdaptation
 
toString() - Method in class adapforms.runtime.adaptations.SubmitActionTitleAdaptation
 
toString() - Method in class adapforms.runtime.adaptations.ValidationAdaptation
 
toString() - Method in class adapforms.runtime.adaptations.ValueChangeAdaptation
 
toString() - Method in class adapforms.runtime.FormData
 
toString() - Method in class adapforms.runtime.state.BooleanExpression
 
toString() - Method in class adapforms.runtime.state.dom.AbstractTextNode
 
toString() - Method in class adapforms.runtime.state.StateTree.DOMStateDocument
 
toString() - Method in class adapforms.runtime.validation.ValidationProblem
 
toString() - Method in class adapforms.runtime.validation.ValidationRule
 
toString() - Method in class adapforms.web.util.GUID
 
toStringHelper(String) - Method in class adapforms.form.elements.FormElement
Helper method for FormElement.toString() in subclasses.
toStringHelper(String) - Method in class adapforms.form.elements.ValueHoldingElement
 
translate(String) - Method in class adapforms.runtime.i18n.Localization
Perform simple translation from one text to another.
translateKey(String, String...) - Method in class adapforms.runtime.i18n.Localization
Given a translation key, possibly containing placeholders, translate it and insert the given values at the placeholder positions.
True() - Static method in class adapforms.runtime.state.BooleanExpression
Create a new expression with the initial constant value of true
TypeException - Exception in adapforms.exceptions
Thrown whenever a type error occurs.
TypeException(String) - Constructor for exception adapforms.exceptions.TypeException
 
TypeException(String, Exception) - Constructor for exception adapforms.exceptions.TypeException
 
typeFromBean(Class<Object>) - Static method in class adapforms.form.parser.BeanConvertion
Create a bean type given the class of the bean.

U

UI_DATE_SELECT - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
UI_READONLY - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
UI_REPEAT_ADD - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
UI_REPEAT_REMOVE - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
UI_SUBMIT_TITLE - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
updateStatus(boolean) - Method in class adapforms.runtime.FormInstanceImpl
Update the form status.
useDefaultCSS() - Static method in class adapforms.web.WebRuntime
Determine if the built-it default CSS will be used when rendering forms to the web client.
usePasswordMask() - Method in class adapforms.form.elements.TextElement
Determine if the value of the element should be masked as a password.
UserMessageAdaptation - Class in adapforms.runtime.adaptations
Display a text-message to the user, filling out the adaptive form.
UserMessageAdaptation(String) - Constructor for class adapforms.runtime.adaptations.UserMessageAdaptation
 
Util - Class in adapforms.util
Various static utility methods used throughout the framework.
Util() - Constructor for class adapforms.util.Util
 

V

validateValue(Object, Localization) - Method in class adapforms.form.elements.ChoiceElement
 
validateValue(Object, Localization) - Method in class adapforms.form.elements.DateElement
 
validateValue(Object, Localization) - Method in class adapforms.form.elements.DecimalElement
 
validateValue(Object, Localization) - Method in class adapforms.form.elements.IntegerElement
 
validateValue(Object, Localization) - Method in class adapforms.form.elements.TextElement
 
validateValue(Object, Localization) - Method in class adapforms.form.elements.ValueHoldingElement
Given a converted (see ValueHoldingElement.convertValue(java.lang.Object, adapforms.runtime.i18n.Localization)) value, check if it is valid.
VALIDATION_CHOICE_INVALID - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_DATE_INVALID - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_DECIMAL_MAX - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_DECIMAL_MIN - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_DECIMAL_TYPEERROR - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_INTEGER_MAX - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_INTEGER_MIN - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_INTEGER_TYPEERROR - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_REPEAT_MAX - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_REPEAT_MIN - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_REQUIRED - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_TEXT_MAX - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_TEXT_MIN - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_TEXT_REGEX - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
VALIDATION_VALID - Static variable in interface adapforms.runtime.i18n.DefaultTranslation
 
ValidationAdaptation - Class in adapforms.runtime.adaptations
Changing the validation state (problem indication) of a form element.
ValidationAdaptation(FormPath, List<ValidationProblem>) - Constructor for class adapforms.runtime.adaptations.ValidationAdaptation
 
ValidationLevel - Enum in adapforms.runtime.validation
Defines a level of validation, to allow the framework to distinguish between the source and severity of validation errors.
ValidationProblem - Class in adapforms.runtime.validation
Validation problem that contains a human-readable problem description and a problem severity/type.
ValidationProblem(String) - Constructor for class adapforms.runtime.validation.ValidationProblem
Create a new validation error with severity ValidationSeverity.Error.
ValidationProblem(ValidationSeverity, String) - Constructor for class adapforms.runtime.validation.ValidationProblem
 
ValidationRule - Class in adapforms.runtime.validation
Holds a validation rule for a single element.
ValidationRule(BooleanExpression, String, ValidationSeverity) - Constructor for class adapforms.runtime.validation.ValidationRule
Create a new rule.
ValidationSeverity - Enum in adapforms.runtime.validation
The severity or type of a ValidationProblem.
value() - Method in class adapforms.runtime.state.BooleanExpression
The value of the constant, or the most recent evaluation of the XPath expression.
value() - Method in class adapforms.util.SortableItem
 
value() - Method in class adapforms.web.util.GUID
 
ValueChangeAdaptation - Class in adapforms.runtime.adaptations
Changing the value of a form element.
ValueChangeAdaptation(FormPath, Object) - Constructor for class adapforms.runtime.adaptations.ValueChangeAdaptation
 
ValueHoldingElement - Class in adapforms.form.elements
Form element capable of holding one or more values.
ValueHoldingElement(String, SimpleLabel) - Constructor for class adapforms.form.elements.ValueHoldingElement
 
valueOf(String) - Static method in enum adapforms.annotation.BooleanValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum adapforms.annotation.PropertyModifier
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum adapforms.runtime.FormStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum adapforms.runtime.state.StateTree.EnumerationAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum adapforms.runtime.validation.ValidationLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum adapforms.runtime.validation.ValidationSeverity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum adapforms.web.handlers.RenderingType
Returns the enum constant of this type with the specified name.
values() - Static method in enum adapforms.annotation.BooleanValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum adapforms.annotation.PropertyModifier
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum adapforms.runtime.FormStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum adapforms.runtime.state.StateTree.EnumerationAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum adapforms.runtime.validation.ValidationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum adapforms.runtime.validation.ValidationSeverity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum adapforms.web.handlers.RenderingType
Returns an array containing the constants of this enum type, in the order they are declared.
verify() - Method in class adapforms.form.Form
Verify that the form is sound.
visitChildren(FormPath, boolean, StateTree.EnumerationFilter) - Method in class adapforms.runtime.state.StateTree
Recursively visit all children in the tree, starting at the given path (not visited).

W

WebExecuteScriptAdaptation - Class in adapforms.web.adaptations
Execute a piece of JavaScript/ECMAScript in the web browser of the user.
WebExecuteScriptAdaptation(String) - Constructor for class adapforms.web.adaptations.WebExecuteScriptAdaptation
 
WebRedirectAdaptation - Class in adapforms.web.adaptations
Adaptation telling the web client to redirect the browser to a different URL (relative or absolute).
WebRedirectAdaptation(String) - Constructor for class adapforms.web.adaptations.WebRedirectAdaptation
 
WebRuntime - Class in adapforms.web
Main mediator for handling adaptive form web sessions, and manipulating shared settings.
WebRuntime() - Constructor for class adapforms.web.WebRuntime
 
WebSession - Interface in adapforms.web
Represents an adaptive form session, coupled to a single adaptive form.
WebSessionImpl - Class in adapforms.web
Concrete implementation of WebSession.
WebSessionImpl(FormInstanceImpl) - Constructor for class adapforms.web.WebSessionImpl
Create a new session given a form instance.
WebUtil - Class in adapforms.web.util
Usefull utility methods for the adapforms-web.
WebUtil() - Constructor for class adapforms.web.util.WebUtil
 
writeHeadersToClient(ServletRequest, ServletResponse) - Method in interface adapforms.web.WebSession
Render the required XHTML headers to the web client.
writeHeadersToClient(ServletRequest, ServletResponse) - Method in class adapforms.web.WebSessionImpl
 
writeToClient(ServletRequest, ServletResponse) - Method in interface adapforms.web.WebSession
Render the instantiated form to the web client.
writeToClient(ServletRequest, ServletResponse) - Method in class adapforms.web.WebSessionImpl
 

X

XHTMLController - Class in adapforms.web.handlers.xhtml
XHTML/AJAX specific control handler.
XHTMLController() - Constructor for class adapforms.web.handlers.xhtml.XHTMLController
 
XHTMLRenderer - Class in adapforms.web.handlers.xhtml
XHTML/AJAX specific renderer.
XHTMLRenderer() - Constructor for class adapforms.web.handlers.xhtml.XHTMLRenderer
 
xmlEscape(String) - Static method in class adapforms.web.util.WebUtil
Escape a XML literal.
XPathManager - Class in adapforms.runtime.state
Handles the evaulation of XPath semantic rules.
XPathManager(StateTree) - Constructor for class adapforms.runtime.state.XPathManager
Create a new manager managing this instance

A B C D E F G H I L M N O P R S T U V W X