return XPathConstants.DOM_OBJECT_MODEL;
}
public PJConverter getPJConverter(Class targetClass) {
if (NodeOverNodeInfo.class.isAssignableFrom(targetClass)) {
return new PJConverter() {
public Object convert(ValueRepresentation value, Class targetClass, XPathContext context) throws XPathException {
return convertXPathValueToObject(value, targetClass, context);
}
};
} else if (NodeList.class.isAssignableFrom(targetClass)) {
return new PJConverter() {
public Object convert(ValueRepresentation value, Class targetClass, XPathContext context) throws XPathException {
return convertXPathValueToObject(value, targetClass, context);
}
};
} else {