MCPcopy Create free account
hub / github.com/SPLWare/esProc / newAttribute

Method newAttribute

ide/main/java/com/scudata/ide/common/XMLFile.java:233–254  ·  view source on GitHub ↗

Create a new attribute under the current path @param path Node path @param attr The name of the attribute to be created @return Return 1 on success, -1 on failure (when the attribute with the same name exists)

(String path, String attr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

setAttributeMethod · 0.95

Calls 7

isLegalXmlNameMethod · 0.95
getMethod · 0.95
getTerminalNodeMethod · 0.95
getAttributesMethod · 0.80
getLengthMethod · 0.80
getMessageMethod · 0.45
setAttributeMethod · 0.45

Tested by

no test coverage detected