MCPcopy Create free account
hub / github.com/antlr/codebuff / setSafeRange

Method setSafeRange

output/java_guava/1.4.17/Escapers.java:121–126  ·  view source on GitHub ↗

Sets the safe range of characters for the escaper. Characters in this range that have no explicit replacement are considered 'safe' and remain unescaped in the output. If safeMax < safeMin then the safe range is empty. @param safeMin the lowest 'safe' character @param safeMax the highest 's

(char safeMin, char safeMax)

Source from the content-addressed store, hash-verified

119 */
120
121 @CanIgnoreReturnValue
122 public Builder setSafeRange(char safeMin, char safeMax) {
123 this.safeMin = safeMin;
124 this.safeMax = safeMax;
125 return this;
126 }
127
128 /**
129 * Sets the replacement string for any characters outside the 'safe' range that have no explicit

Callers 1

XmlEscapersClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected