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

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.XSDBaseNumericType
              extended by org.xenei.jena.entities.impl.datatype.LongDatatype
All Implemented Interfaces:
com.hp.hpl.jena.datatypes.RDFDatatype

public class LongDatatype
extends com.hp.hpl.jena.datatypes.xsd.impl.XSDBaseNumericType

A XSDBaseNumericType instance that converts a number into Long and visa versa. The standard Jena numeric data types covert longs to integer if they fall below the Integer.MAX_VALUE limit.


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
LongDatatype()
           
 
Method Summary
 Object convertValidatedDataValue(org.apache.xerces.impl.dv.ValidatedInfo validatedInfo)
           
 
Methods inherited from class com.hp.hpl.jena.datatypes.xsd.impl.XSDBaseNumericType
cannonicalise, checkWhitespace, isEqual, isValidLiteral, isValidValue, parse
 
Methods inherited from class com.hp.hpl.jena.datatypes.xsd.XSDDatatype
extendedTypeDefinition, getHashCode, getJavaClass, isBaseTypeCompatible, loadUserDefined, loadUserDefined, loadXSDSimpleTypes, main, parseValidated, suitableInteger, suitableInteger, trimPlus, unparse
 
Methods inherited from class com.hp.hpl.jena.datatypes.BaseDatatype
getHashCode, getURI, isEqualPlain, isValid, langTagCompatible, normalizeSubType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongDatatype

public LongDatatype()
Method Detail

convertValidatedDataValue

public Object convertValidatedDataValue(org.apache.xerces.impl.dv.ValidatedInfo validatedInfo)
                                 throws com.hp.hpl.jena.datatypes.DatatypeFormatException
Overrides:
convertValidatedDataValue in class com.hp.hpl.jena.datatypes.xsd.XSDDatatype
Throws:
com.hp.hpl.jena.datatypes.DatatypeFormatException


Copyright © 2012 XENEI.com. All Rights Reserved.