public class TrimLeadingWhitespace extends Object implements PrimitiveTypeRule
| Constructor and Description |
|---|
TrimLeadingWhitespace() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public TrimLeadingWhitespace()
public String correct(String value)
correct in interface PrimitiveTypeRulevalue - an original value to be correctedPrimitiveTypeRule.correct(java.lang.String)public boolean test(String value)
test in interface PrimitiveTypeRulePrimitiveTypeRule.test(java.lang.String)public String getDescription()
RulegetDescription in interface RuleRule.getDescription()public String getSectionReference()
RulegetSectionReference in interface RuleRule.getSectionReference()Copyright © 2001-2012 University Health Network. All Rights Reserved.