Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.schema.rules
Class NullTranslator  view NullTranslator download NullTranslator.java

java.lang.Object
  extended byorg.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.


Constructor Summary
NullTranslator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTranslator

public NullTranslator()
Method Detail

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