MCPcopy Index your code
hub / github.com/processing/processing / hasAttribute

Method hasAttribute

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

Returns whether an attribute exists. @webref xml:method @brief Checks whether or not an element has the specified attribute

(String name)

Source from the content-addressed store, hash-verified

704 * @brief Checks whether or not an element has the specified attribute
705 */
706 public boolean hasAttribute(String name) {
707 return (node.getAttributes().getNamedItem(name) != null);
708 }
709
710
711 /**

Callers 3

parseColorsMethod · 0.80
parseFontMethod · 0.80
FontGlyphMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected