Package org.dlese.dpc.schemedit.input
Class SchemEditActionErrors
java.lang.Object
org.apache.struts.action.ActionMessages
org.apache.struts.action.ActionErrors
org.dlese.dpc.schemedit.input.SchemEditActionErrors
- All Implemented Interfaces:
Serializable
public class SchemEditActionErrors
extends org.apache.struts.action.ActionErrors
Subclasses ActionErrors to maintain certain error-types in document order to
improve readibility of error displays in UI.
- Author:
- Jonathan Ostwald
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassCompares two "page error" actionMessages wrt to instance document order so that editing errors can be presented in the same order in which they occur in the document being edited.Nested classes/interfaces inherited from class org.apache.struts.action.ActionMessages
org.apache.struts.action.ActionMessages.ActionMessageItem -
Field Summary
Fields inherited from class org.apache.struts.action.ActionErrors
GLOBAL_ERRORFields inherited from class org.apache.struts.action.ActionMessages
accessed, GLOBAL_MESSAGE, iCount, messages -
Constructor Summary
ConstructorsConstructorDescriptionNo-argument Constructor for the SchemEditActionErrors objectSchemEditActionErrors(SchemaHelper schemaHelper) Constructor for the SchemEditActionErrors object with SchemaHelper argument, which is needed to maintain errors in document order. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an error, and sort into document order if schemaHelper is present and if specified propery is contained in sortedProperties list.get_Off()NOT YET DOCUMENTEDNOT YET DOCUMENTEDvoidsetSchemaHelper(SchemaHelper schemaHelper) Sets the schemaHelper attribute of the SchemEditActionErrors objectMethods inherited from class org.apache.struts.action.ActionErrors
addMethods inherited from class org.apache.struts.action.ActionMessages
add, clear, get, get, isAccessed, isEmpty, properties, size, size, toString
-
Constructor Details
-
SchemEditActionErrors
public SchemEditActionErrors()No-argument Constructor for the SchemEditActionErrors object -
SchemEditActionErrors
Constructor for the SchemEditActionErrors object with SchemaHelper argument, which is needed to maintain errors in document order.- Parameters:
schemaHelper- the schemaHelper
-
-
Method Details
-
setSchemaHelper
Sets the schemaHelper attribute of the SchemEditActionErrors object- Parameters:
schemaHelper- The new schemaHelper value
-
add
Add an error, and sort into document order if schemaHelper is present and if specified propery is contained in sortedProperties list.- Overrides:
addin classorg.apache.struts.action.ActionMessages- Parameters:
property- error propertymessage- error object
-
get_Off
NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
-
get_Off
NOT YET DOCUMENTED- Parameters:
property- NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
-