private final NodeTypes mType;
public OrphanXmlElement(@NonNull Element xml) {
mXml = Preconditions.checkNotNull(xml);
NodeTypes nodeType;
String elementName = mXml.getNodeName();
// this is bit more complicated than it should be. Look first if there is a namespace
// prefix in the name, most elements don't. If they do, however, strip it off if it is the
// android prefix, but if it's custom namespace prefix, classify the node as CUSTOM.
int indexOfColon = elementName.indexOf(':');