|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.validation.impl.TrimLeadingWhitespace
public class TrimLeadingWhitespace
Performs no validation but removes leading whitespace in the correct() method.
| Constructor Summary | |
|---|---|
TrimLeadingWhitespace()
|
|
| Method Summary | |
|---|---|
String |
correct(String value)
Removes leading whitespace. |
String |
getDescription()
Returns a text description of the rule. |
String |
getSectionReference()
A string indicating the section of the HL7 standard from which this rule is derived (if applicable). |
boolean |
test(String value)
Returns true. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrimLeadingWhitespace()
| Method Detail |
|---|
public String correct(String value)
correct in interface PrimitiveTypeRulevalue - an original value to be corrected
PrimitiveTypeRule.correct(java.lang.String)public boolean test(String value)
test in interface PrimitiveTypeRulePrimitiveTypeRule.test(java.lang.String)public String getDescription()
Rule
getDescription in interface RuleRule.getDescription()public String getSectionReference()
Rule
getSectionReference in interface RuleRule.getSectionReference()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||