MCPcopy Create free account
hub / github.com/dhale/jtk / quoteCharacterData

Method quoteCharacterData

core/src/main/java/edu/mines/jtk/util/XmlUtil.java:54–77  ·  view source on GitHub ↗

Quotes character data. Replaces special characters and XML entities. Encloses string in double quotes if it contains whitespace. @param s character data to be quoted. @return quoted character data.

(String s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

toStringMethod · 0.95

Calls 2

replaceAllMethod · 0.95
lengthMethod · 0.45

Tested by

no test coverage detected