Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

network.domain
Class ReplaceCharsRule
All Implemented Interfaces:
       TranslationRule
Direct Known Subclasses:
       ReplaceLeadCharsOfNumberRule, ReplacePrefixRule, ReplaceUriParameterRule

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
to Interface TranslationRule
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
Field Detail
isMatch
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
 

sourceExpression
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
 

targetChars
private String targetChars
targetChars contains the characters with which the candidate lead characters are replaced
Constraints:
- .{1,256}
Default:
- none
Multiplicity:
1
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD