|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionMessages org.apache.struts.action.ActionErrors org.dlese.dpc.schemedit.input.SchemEditActionErrors
public class SchemEditActionErrors
Subclasses ActionErrors to maintain certain error-types in document order to improve readibility of error displays in UI.
Nested Class Summary | |
---|---|
class |
SchemEditActionErrors.DocOrderComparator
Compares 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_ERROR |
Fields inherited from class org.apache.struts.action.ActionMessages |
---|
accessed, GLOBAL_MESSAGE, iCount, messages |
Constructor Summary | |
---|---|
SchemEditActionErrors()
No-argument Constructor for the SchemEditActionErrors object |
|
SchemEditActionErrors(SchemaHelper schemaHelper)
Constructor for the SchemEditActionErrors object with SchemaHelper argument, which is needed to maintain errors in document order. |
Method Summary | |
---|---|
void |
add(String property,
org.apache.struts.action.ActionMessage message)
Add an error, and sort into document order if schemaHelper is present and if specified propery is contained in sortedProperties list. |
Iterator |
get_Off()
NOT YET DOCUMENTED |
Iterator |
get_Off(String property)
NOT YET DOCUMENTED |
void |
setSchemaHelper(SchemaHelper schemaHelper)
Sets the schemaHelper attribute of the SchemEditActionErrors object |
Methods inherited from class org.apache.struts.action.ActionErrors |
---|
add |
Methods inherited from class org.apache.struts.action.ActionMessages |
---|
add, clear, get, get, isAccessed, isEmpty, properties, size, size, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SchemEditActionErrors()
public SchemEditActionErrors(SchemaHelper schemaHelper)
schemaHelper
- the schemaHelperMethod Detail |
---|
public void setSchemaHelper(SchemaHelper schemaHelper)
schemaHelper
- The new schemaHelper valuepublic void add(String property, org.apache.struts.action.ActionMessage message)
add
in class org.apache.struts.action.ActionMessages
property
- error propertymessage
- error objectpublic Iterator get_Off()
public Iterator get_Off(String property)
property
- NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |