MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / acceptChar

Method acceptChar

src/main/java/org/htmlunit/html/DomText.java:191–195  ·  view source on GitHub ↗

Indicates if the provided character can be "typed" in the element. @param c the character @return true if it is accepted

(final char c)

Source from the content-addressed store, hash-verified

189 * @return {@code true} if it is accepted
190 */
191 protected boolean acceptChar(final char c) {
192 // This range is this is private use area
193 // see http://www.unicode.org/charts/PDF/UE000.pdf
194 return (c < '\uE000' || c > '\uF8FF') && (c == ' ' || !Character.isWhitespace(c));
195 }
196
197 /**
198 * {@inheritDoc}

Callers

nothing calls this directly

Calls 1

isWhitespaceMethod · 0.80

Tested by

no test coverage detected