PrimitiveRuleBuilder.leftTrim() insteadpublic class TrimLeadingWhitespace extends AbstractPrimitiveTypeRule
| Constructor and Description |
|---|
TrimLeadingWhitespace()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationException[] |
apply(String value)
Deprecated.
Applies to rule to an object to be checked
|
String |
correct(String value)
Deprecated.
Removes leading whitespace.
|
String |
getDescription()
Deprecated.
Returns a text description of the rule.
|
testfailed, failed, failed, failed, failedWithValue, getErrorCode, getSectionReference, getSeverity, passed, result, result, setDescription, setErrorCode, setSectionReference, setSeverityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSectionReferencepublic TrimLeadingWhitespace()
public String correct(String value)
correct in interface PrimitiveTypeRulecorrect in class AbstractPrimitiveTypeRulevalue - an original value to be correctedPrimitiveTypeRule.correct(java.lang.String)public ValidationException[] apply(String value)
Rulevalue - object to be checkedpublic String getDescription()
RulegetDescription in interface Rule<String>getDescription in class RuleSupport<String>Rule.getDescription()Copyright © 2001–2017 University Health Network. All rights reserved.