public class XMLLiteralType extends BaseDatatype implements RDFDatatype
rdf:parsetype='literal'.BaseDatatype.TypedValue| Modifier and Type | Field and Description |
|---|---|
static RDFDatatype |
theXMLLiteralType
Singleton instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(String lexicalForm)
Test whether the given string is a legal lexical form
of this datatype.
|
Object |
parse(String lexicalForm)
Parse a lexical form of this datatype to a value
|
String |
unparse(Object value)
Convert a serialize a value of this datatype out
to lexical form.
|
cannonicalise, extendedTypeDefinition, getHashCode, getJavaClass, getURI, isEqual, isValidLiteral, isValidValue, langTagCompatible, normalizeSubType, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcannonicalise, extendedTypeDefinition, getHashCode, getJavaClass, getURI, isEqual, isValidLiteral, isValidValue, normalizeSubTypepublic static final RDFDatatype theXMLLiteralType
public String unparse(Object value)
unparse in interface RDFDatatypeunparse in class BaseDatatypepublic Object parse(String lexicalForm) throws DatatypeFormatException
parse in interface RDFDatatypeparse in class BaseDatatypeDatatypeFormatException - if the lexical form is not legalpublic boolean isValid(String lexicalForm)
isValid in interface RDFDatatypeisValid in class BaseDatatypeLicenced under the Apache License, Version 2.0