1 31 32 package com.hp.hpl.jena.rdf.model; 33 import com.hp.hpl.jena.datatypes.RDFDatatype; 34 35 63 public interface Literal extends RDFNode { 64 65 67 public boolean isLiteral(); 68 69 76 public Object getValue(); 77 78 82 public RDFDatatype getDatatype(); 83 84 88 public String getDatatypeURI(); 89 90 93 public String getLexicalForm(); 94 95 104 public boolean getBoolean() ; 105 106 115 public byte getByte() ; 116 117 126 public short getShort() ; 127 128 137 public int getInt() ; 138 139 148 public long getLong() ; 149 150 159 public char getChar() ; 160 161 170 public float getFloat() ; 171 172 181 public double getDouble() ; 182 183 192 public String getString() ; 195 196 205 public Object getObject(ObjectF f) ; 208 209 212 public String getLanguage(); 213 214 219 public boolean getWellFormed(); 220 221 231 public boolean equals(Object o); 232 233 241 public boolean sameValueAs(Literal other); 242 } 243 244 | Popular Tags |