MCPcopy Index your code
hub / github.com/benfry/processing4 / getString

Method getString

core/src/processing/data/XML.java:768–770  ·  view source on GitHub ↗

Returns an attribute value of the element as a String . If the defaultValue parameter is specified and the attribute doesn't exist, then defaultValue is returned. If no defaultValue is specified and the attribute doesn't exist, null is returned. @webref xml:method

(String name)

Source from the content-addressed store, hash-verified

766 * @webBrief Gets the content of an attribute as a <b>String</b>
767 */
768 public String getString(String name) {
769 return getString(name, null);
770 }
771
772
773 public String getString(String name, String defaultValue) {

Callers 5

GradientMethod · 0.95
getIntMethod · 0.95
getLongMethod · 0.95
getFloatMethod · 0.95
getDoubleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected