vType = vType.getBaseType();
}
return vType != null;
}
} else if (it instanceof NodeType && tag == ValueTag.NODE_TREE_TAG) {
NodeType nt = (NodeType) it;
NodeKind kind = nt.getNodeKind();
if (kind == NodeKind.ANY) {
return true;
} else {
tvp.getValue(ntp);
ntp.getRootNode(tempTVP1);
switch (tempTVP1.getTag()) {
case ValueTag.ATTRIBUTE_NODE_TAG:
if (kind == NodeKind.ATTRIBUTE) {
if (nt.equals(AttributeType.ANYATTRIBUTE)) {
return true;
} else {
}
}
break;
case ValueTag.COMMENT_NODE_TAG:
return kind == NodeKind.ATTRIBUTE;
case ValueTag.DOCUMENT_NODE_TAG:
if (kind == NodeKind.DOCUMENT) {
if (nt.equals(DocumentType.ANYDOCUMENT)) {
return true;
} else {
}
}
break;
case ValueTag.ELEMENT_NODE_TAG:
if (kind == NodeKind.ELEMENT) {
if (nt.equals(ElementType.ANYELEMENT)) {
return true;
} else {
}
}
break;
case ValueTag.PI_NODE_TAG:
if (kind == NodeKind.PI) {
if (nt.equals(ProcessingInstructionType.ANYPI)) {
return true;
} else {
ProcessingInstructionType pit = (ProcessingInstructionType) nt;
tempTVP1.getValue(pinp);
pinp.getTarget(ntp, utf8sp);