Package com.adaptris.transform.ff
Class FieldHandler
java.lang.Object
com.adaptris.transform.ff.Handler
com.adaptris.transform.ff.FieldHandler
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFieldHandler(Node node) Constructor - receives the descriptor node and uses it's details to populate the fields which govern field parsing. -
Method Summary
Modifier and TypeMethodDescriptionFunction to return content of field after readingintgetCount()Dummy functiongetName()getName - returns name of fieldbooleanisThisHandler(StreamParser input, boolean dummy) voidprocess(StreamParser inputRecord, PrintWriter output) process - function which receives a record and reads the next field from it according to the definition read from the message descriptor.voidsetCount(int i) Dummy functionMethods inherited from class com.adaptris.transform.ff.Handler
getAttribute, getIntAttribute, isOptional, padChar
-
Constructor Details
-
FieldHandler
Constructor - receives the descriptor node and uses it's details to populate the fields which govern field parsing.- Parameters:
node- - the input node
-
-
Method Details
-
getName
getName - returns name of field- Returns:
- String representation of name of field
-
process
process - function which receives a record and reads the next field from it according to the definition read from the message descriptor.- Parameters:
inputRecord- - the StreamParser to read the record fromoutput- - the StringBuffer to receive the output
-
setCount
public void setCount(int i) Dummy function -
getCount
public int getCount()Dummy function -
isThisHandler
-
getContent
Function to return content of field after reading- Returns:
- String contents of field
-