1 10 package com.hp.hpl.jena.datatypes; 11 12 import com.hp.hpl.jena.graph.impl.LiteralLabel; 13 14 22 public interface RDFDatatype { 23 24 27 public String getURI(); 28 29 33 public String unparse(Object value); 34 35 39 public Object parse(String lexicalForm) throws DatatypeFormatException; 40 41 45 public boolean isValid(String lexicalForm); 46 47 51 public boolean isValidValue(Object valueForm); 52 53 60 public boolean isValidLiteral(LiteralLabel lit); 61 62 69 public boolean isEqual(LiteralLabel value1, LiteralLabel value2); 70 71 76 public Class getJavaClass(); 77 78 84 public Object extendedTypeDefinition(); 85 86 } 87 88 117 118 | Popular Tags |