com.unitesk.atp.text.localize
Class PatternDefaultFunction
java.lang.Object
com.unitesk.atp.text.generation.DefaultFunction
com.unitesk.atp.text.localize.PatternDefaultFunction
- All Implemented Interfaces:
- Function
public class PatternDefaultFunction
- extends DefaultFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sm
protected PatternStringManager sm
resource
protected String resource
resourceClass
protected Class resourceClass
PatternDefaultFunction
public PatternDefaultFunction(PatternStringManager sm)
setResource
public void setResource(String resource)
setResourceClass
public void setResourceClass(Class resourceClass)
process
public void process(Object arg)
- Description copied from class:
DefaultFunction
- Outputs text representation of the specified object to generator
using
Generator.txtAsIs(String)
.
- Specified by:
process
in interface Function
- Overrides:
process
in class DefaultFunction
- Parameters:
arg
- The specified object.
getPattern
protected String getPattern(Object arg)
Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.