Class ToStringValueNode
- java.lang.Object
-
- org.soulwing.prospecto.runtime.template.AbstractViewNode
-
- org.soulwing.prospecto.runtime.template.AbstractValueNode
-
- org.soulwing.prospecto.runtime.template.ToStringValueNode
-
- All Implemented Interfaces:
MutableScope
,Scope
,ValueNode
,ViewNode
public class ToStringValueNode extends AbstractValueNode
A view node that represents theObject.toString()
value of a model instance.- Author:
- Carl Harris
-
-
Constructor Summary
Constructors Constructor Description ToStringValueNode(String name, String namespace)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
accept(ViewNodeVisitor visitor, Object state)
Class<?>
getDataType()
Object
getValue(Object model)
-
Methods inherited from class org.soulwing.prospecto.runtime.template.AbstractViewNode
get, get, getAccessor, getAllowedModes, getModelType, getName, getNamespace, getParent, getPropertyName, getSupportedModes, put, put, putAll, putAll, putAll, remove, setAccessor, setAllowedModes, setParent, toString, validateAccessModes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.soulwing.prospecto.api.template.ViewNode
getModelType, getName, getNamespace, getParent
-
-
-
-
Method Detail
-
getDataType
public Class<?> getDataType()
-
accept
public Object accept(ViewNodeVisitor visitor, Object state)
- Overrides:
accept
in classAbstractValueNode
-
-