|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An instance of this interface is used to generate all masks and groups in the project.
DefaultMaskFactory| Method Summary | |
java.lang.String |
getDefaultInputMask()
Get the name of the default mask/screen used for user input. |
java.lang.String |
getDefaultListMask()
Get the name of the default mask/screen used to list a base class. |
Group |
getGroup(java.lang.String id)
Get a group definition referenced by its id. |
Mask |
getMask(java.lang.Class valueObjectClass)
Get the default mask for a value object class. |
Mask |
getMask(java.lang.Class valueObjectClass,
java.lang.String type)
Get a mask, identified by its class and type. |
Mask |
getMask(Field parentField,
java.lang.Class valueObjectClass)
Get a mask, identified by its parent field, and class. |
boolean |
isConfigured()
Discover whether or not this object has been configured. |
void |
readConfiguration(java.io.InputStream inputStream)
Get the configuration represented by the document provided. |
| Method Detail |
public java.lang.String getDefaultInputMask()
Get the name of the default mask/screen used for user input.
public java.lang.String getDefaultListMask()
Get the name of the default mask/screen used to list a base class.
public Group getGroup(java.lang.String id)
Get a group definition referenced by its id.
id - unique identifier of the group.
null if
there is no such group.
public Mask getMask(java.lang.Class valueObjectClass,
java.lang.String type)
Get a mask, identified by its class and type.
valueObjectClass - class of value object for the mask to be returned.type - optional parameter defining multiple masks for the same value
object. May be null.
null if
there is no such mask.public Mask getMask(java.lang.Class valueObjectClass)
Get the default mask for a value object class.
valueObjectClass - class of value object for the mask to be returned.
null if
there is no such mask.
public Mask getMask(Field parentField,
java.lang.Class valueObjectClass)
Get a mask, identified by its parent field, and class. This returns the input mask for the subclassed field.
parentField - If this mask applies to a field within another mask, (known as
a submask) this is the field to which it applies, otherwise
use the other getMask method.valueObjectClass - class of value object for the mask to be returned.
null if
there is no such mask.public boolean isConfigured()
Discover whether or not this object has been configured.
true if the object has been configured, otherwise
false.
public void readConfiguration(java.io.InputStream inputStream)
throws java.io.IOException
Get the configuration represented by the document provided.
inputStream - The input stream to read the XML from.
java.io.IOException - If there is any problem reading from the stream provided.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||