|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sovt.impl.ParserInspector
This inspector may be used to parse objects from one class to different class. The implementation is based on Beanutils convertion framework.
| Constructor Summary | |
ParserInspector()
Creates instance of ParserInspector. |
|
| Method Summary | |
java.lang.Object |
clone()
Plain super.clone(). |
java.lang.String |
getDestinationClass()
|
java.lang.Object |
inspect(java.lang.Object object,
ValidationResult result)
Performs transformation and validation of given object. |
void |
setDestinationClass(java.lang.String destinationClassName)
Set desired class of parse outcome. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParserInspector()
| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface Inspectorjava.lang.CloneNotSupportedException - never.
public java.lang.Object inspect(java.lang.Object object,
ValidationResult result)
Inspector
inspect in interface Inspectorobject - Object to inspect.result - Container for validation results.
public java.lang.String getDestinationClass()
public void setDestinationClass(java.lang.String destinationClassName)
destinationClassName - name of desired class of parse outcome.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||