384385386387388389390391392393394
case XSD_NMTOKEN: case XSD_HEX_BINARY: case XSD_BASE_64_BINARY: case XSD_ANY_URI: case XSD_TOKEN: res = new StringLiteral(literal); break; case XSD_INTEGER: case XSD_NON_NEGATIVE_INTEGER: if(useSimpleInts) { res = new IntegerLiteral(Integer.parseInt(literal));
110111112113114115116
public static Literal createDateLiteral(Calendar value) { return new DateLiteral(value); } public static Literal createStringLiteral(String value) { return new StringLiteral(value); }