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

Method quoteAttributeValue

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

Quotes an XML attribute value. Replaces special characters and XML entities. Encloses string in double or single quotes, depending on what's inside. @param s attribute value to be quoted. @return quoted attribute value.

(String s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

toStringMethod · 0.95
toStringMethod · 0.95

Calls 2

replaceAllMethod · 0.95
containsMethod · 0.45

Tested by

no test coverage detected