org.xenei.jena.entities.impl.datatype
Class CharacterDatatype

java.lang.Object
  extended by com.hp.hpl.jena.datatypes.BaseDatatype
      extended by com.hp.hpl.jena.datatypes.xsd.XSDDatatype
          extended by com.hp.hpl.jena.datatypes.xsd.impl.XSDBaseStringType
              extended by org.xenei.jena.entities.impl.datatype.CharacterDatatype
All Implemented Interfaces:
com.hp.hpl.jena.datatypes.RDFDatatype

public class CharacterDatatype
extends com.hp.hpl.jena.datatypes.xsd.impl.XSDBaseStringType

An instance of XSDBaseStringType that converts Character class objects into single character strings and back again.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.hp.hpl.jena.datatypes.BaseDatatype
com.hp.hpl.jena.datatypes.BaseDatatype.TypedValue
 
Field Summary
 
Fields inherited from class com.hp.hpl.jena.datatypes.xsd.XSDDatatype
javaClass, typeDeclaration, XSD, XSDanyURI, XSDbase64Binary, XSDboolean, XSDbyte, XSDdate, XSDdateTime, XSDdecimal, XSDdouble, XSDduration, XSDENTITY, XSDfloat, XSDgDay, XSDgMonth, XSDgMonthDay, XSDgYear, XSDgYearMonth, XSDhexBinary, XSDID, XSDIDREF, XSDint, XSDinteger, XSDlanguage, XSDlong, XSDName, XSDNCName, XSDnegativeInteger, XSDNMTOKEN, XSDnonNegativeInteger, XSDnonPositiveInteger, XSDnormalizedString, XSDNOTATION, XSDpositiveInteger, XSDQName, XSDshort, XSDstring, XSDtime, XSDtoken, XSDunsignedByte, XSDunsignedInt, XSDunsignedLong, XSDunsignedShort
 
Fields inherited from class com.hp.hpl.jena.datatypes.BaseDatatype
uri
 
Constructor Summary
CharacterDatatype()
          constructor
 
Method Summary
 Object parseValidated(String lexical)
          Parse the single character string into a Character object.
 
Methods inherited from class com.hp.hpl.jena.datatypes.xsd.impl.XSDBaseStringType
isEqual
 
Methods inherited from class com.hp.hpl.jena.datatypes.xsd.XSDDatatype
convertValidatedDataValue, extendedTypeDefinition, getHashCode, getJavaClass, isBaseTypeCompatible, isValidLiteral, loadUserDefined, loadUserDefined, loadXSDSimpleTypes, main, parse, suitableInteger, suitableInteger, trimPlus, unparse
 
Methods inherited from class com.hp.hpl.jena.datatypes.BaseDatatype
cannonicalise, getHashCode, getURI, isEqualPlain, isValid, isValidValue, langTagCompatible, normalizeSubType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharacterDatatype

public CharacterDatatype()
constructor

Method Detail

parseValidated

public Object parseValidated(String lexical)
Parse the single character string into a Character object.

Overrides:
parseValidated in class com.hp.hpl.jena.datatypes.xsd.XSDDatatype
Parameters:
lexical - The single character string
Throws:
com.hp.hpl.jena.datatypes.DatatypeFormatException - if lexical is more than one character


Copyright © 2012 XENEI.com. All Rights Reserved.