MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / isProp

Method isProp

src/org/kxml2/io/KXmlParser.java:102–109  ·  view source on GitHub ↗
(String n1, boolean prop, String n2)

Source from the content-addressed store, hash-verified

100 }
101
102 private final boolean isProp(String n1, boolean prop, String n2) {
103 if (!n1.startsWith("http://xmlpull.org/v1/doc/"))
104 return false;
105 if (prop)
106 return n1.substring(42).equals(n2);
107 else
108 return n1.substring(40).equals(n2);
109 }
110
111 private final boolean adjustNsp() throws XmlPullParserException {
112

Callers 4

getFeatureMethod · 0.95
getPropertyMethod · 0.95
setFeatureMethod · 0.95
setPropertyMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected