com.intel.hadoop.graphbuilder.parser
Class EmptyParser

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.parser.EmptyParser
All Implemented Interfaces:
FieldParser<EmptyType>

public class EmptyParser
extends java.lang.Object
implements FieldParser<EmptyType>

Dummy parser that return EmptyType for any input.


Constructor Summary
EmptyParser()
           
 
Method Summary
 java.lang.Class getType()
           
 EmptyType getValue(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyParser

public EmptyParser()
Method Detail

getValue

public EmptyType getValue(java.lang.String text)
Specified by:
getValue in interface FieldParser<EmptyType>
Returns:
the parsed value type.

getType

public java.lang.Class getType()
Specified by:
getType in interface FieldParser<EmptyType>
Returns:
the class of the value type.