|
|||||||||
| Home >> All >> com >> hp >> hpl >> jena >> datatypes >> xsd >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.hp.hpl.jena.datatypes.xsd.impl
Class XMLLiteralType

java.lang.Objectcom.hp.hpl.jena.datatypes.BaseDatatype
com.hp.hpl.jena.datatypes.xsd.impl.XMLLiteralType
- All Implemented Interfaces:
- com.hp.hpl.jena.datatypes.RDFDatatype
- public class XMLLiteralType
- extends com.hp.hpl.jena.datatypes.BaseDatatype
- implements com.hp.hpl.jena.datatypes.RDFDatatype
- extends com.hp.hpl.jena.datatypes.BaseDatatype
Builtin data type to represent XMLLiteral (i.e. items created
by use of rdf:parsetype='literal'.
- Version:
- $Revision: 1.9 $ on $Date: 2005/02/21 12:02:19 $
| Field Summary | |
static com.hp.hpl.jena.datatypes.RDFDatatype |
theXMLLiteralType
Singleton instance |
| Fields inherited from class com.hp.hpl.jena.datatypes.BaseDatatype |
uri |
| Constructor Summary | |
private |
XMLLiteralType(java.lang.String uri)
Private constructor. |
| Method Summary | |
boolean |
isValid(java.lang.String lexicalForm)
Test whether the given string is a legal lexical form of this datatype. |
java.lang.Object |
parse(java.lang.String lexicalForm)
Parse a lexical form of this datatype to a value |
java.lang.String |
unparse(java.lang.Object value)
Convert a serialize a value of this datatype out to lexical form. |
| Methods inherited from class com.hp.hpl.jena.datatypes.BaseDatatype |
extendedTypeDefinition, getJavaClass, getURI, isEqual, isValidLiteral, isValidValue, langTagCompatible, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.datatypes.RDFDatatype |
extendedTypeDefinition, getJavaClass, getURI, isEqual, isValidLiteral, isValidValue |
| Field Detail |
theXMLLiteralType
public static final com.hp.hpl.jena.datatypes.RDFDatatype theXMLLiteralType
- Singleton instance
| Constructor Detail |
XMLLiteralType
private XMLLiteralType(java.lang.String uri)
- Private constructor.
| Method Detail |
unparse
public java.lang.String unparse(java.lang.Object value)
- Convert a serialize a value of this datatype out
to lexical form.
- Specified by:
unparsein interfacecom.hp.hpl.jena.datatypes.RDFDatatype
parse
public java.lang.Object parse(java.lang.String lexicalForm) throws com.hp.hpl.jena.datatypes.DatatypeFormatException
- Parse a lexical form of this datatype to a value
- Specified by:
parsein interfacecom.hp.hpl.jena.datatypes.RDFDatatype
isValid
public boolean isValid(java.lang.String lexicalForm)
- Test whether the given string is a legal lexical form
of this datatype.
- Specified by:
isValidin interfacecom.hp.hpl.jena.datatypes.RDFDatatype
|
|||||||||
| Home >> All >> com >> hp >> hpl >> jena >> datatypes >> xsd >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC