| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
network.domain
public class ReplaceCharsRule
ReplaceCharsRule represents and abstraction for TranslationRule types that replace address elements. Each ReplaceCharsRule carries the isMatch MatchType indicating if the sourceExpression must be matched (MatchType.MATCH), not matched (MatchType.NOT_MATCH) in order to be replaced with the targetChars.
Implements:
TranslationRule
Links:
Implementation Implementation Link
ReplaceCharsRule represents and abstraction for TranslationRule types that replace address elements. Each ReplaceCharsRule carries the isMatch MatchType indicating if the sourceExpression must be matched (MatchType.MATCH), not matched (MatchType.NOT_MATCH) in order to be replaced with the targetChars.
| Nested Class Summary |
public class |
MatchType |
| Field Summary |
private MatchType |
|
MatchType |
MATCH |
MatchType |
NOT_MATCH |
MatchType |
REGEX |
private String |
|
private String |
|
private MatchType isMatch
isMatch enum describes whether (MATCH) the lead chars must match the "sourceExpression" attribute to qualify for replacement or (NOT_MATCH) the lead chars must NOT match the "sourceExpression" attribute in order to qualify for replacement. isMatch may also be of type REGEX.. need to consult Chris on details of processing in REGEX case
Constraints:
- "MATCH" | "NOT_MATCH" | "REGEX"
Default:
- "MATCH"
Multiplicity:
1
private String sourceExpression
sourceExpression represents the characters used to match or not match when determining if a replacement is needed
Constraints:
- .{1,256}
Default:
- none
Multiplicity:
1
private String targetChars
targetChars contains the characters with which the candidate lead characters are replaced
Constraints:
- .{1,256}
Default:
- none
Multiplicity:
1
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|