com.bigdata.rdf.internal.impl.extensions
Class XSDStringExtension<V extends BigdataValue>

java.lang.Object
  extended by com.bigdata.rdf.internal.impl.extensions.XSDStringExtension<V>
All Implemented Interfaces:
IExtension<V>

public class XSDStringExtension<V extends BigdataValue>
extends Object
implements IExtension<V>

This implementation of IExtension supports fully inlined xsd:string values.


Constructor Summary
XSDStringExtension(IDatatypeURIResolver resolver, int maxInlineStringLength)
           
 
Method Summary
 V asValue(LiteralExtensionIV iv, BigdataValueFactory vf)
          Create an RDF value from an LiteralExtensionIV.
 LiteralExtensionIV createIV(Value value)
          Create an LiteralExtensionIV from an RDF value.
 Set<BigdataURI> getDatatypes()
          Return the fully resolved datatype(s) handled by this interface in the form of a BigdataURI with the TermId already set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSDStringExtension

public XSDStringExtension(IDatatypeURIResolver resolver,
                          int maxInlineStringLength)
Method Detail

getDatatypes

public Set<BigdataURI> getDatatypes()
Description copied from interface: IExtension
Return the fully resolved datatype(s) handled by this interface in the form of a BigdataURI with the TermId already set.

Specified by:
getDatatypes in interface IExtension<V extends BigdataValue>
Returns:
the datatype

createIV

public LiteralExtensionIV createIV(Value value)
Description copied from interface: IExtension
Create an LiteralExtensionIV from an RDF value.

Specified by:
createIV in interface IExtension<V extends BigdataValue>
Parameters:
value - The RDF Value
Returns:
The extension IV -or- null if the Value can not be inlined using this IExtension.

asValue

public V asValue(LiteralExtensionIV iv,
                 BigdataValueFactory vf)
Description copied from interface: IExtension
Create an RDF value from an LiteralExtensionIV.

Specified by:
asValue in interface IExtension<V extends BigdataValue>
Parameters:
iv - The extension IV
vf - The bigdata value factory
Returns:
The RDF Value


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.