java.lang.Object
org.apache.hivemind.schema.rules.NullTranslator
- All Implemented Interfaces:
- org.apache.hivemind.schema.Translator
- public class NullTranslator
- extends java.lang.Object
- implements org.apache.hivemind.schema.Translator
A translator that returns the input value itself. Used by the BuilderFactory's <string>
constructor argument element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullTranslator
public NullTranslator()
translate
public java.lang.Object translate(org.apache.hivemind.internal.Module contributingModule,
java.lang.Class propertyType,
java.lang.String inputValue,
org.apache.hivemind.Location location)
- Returns the inputValue.
- Specified by:
translate
in interface org.apache.hivemind.schema.Translator