org.ontoware.rdf2go.model.node.impl
Class AbstractBlankNodeImpl

java.lang.Object
  extended by org.ontoware.rdf2go.model.node.impl.ResourceImpl
      extended by org.ontoware.rdf2go.model.node.impl.AbstractBlankNodeImpl
All Implemented Interfaces:
java.lang.Comparable<Node>, BlankNode, Node, NodeOrVariable, Resource, ResourceOrVariable

public abstract class AbstractBlankNodeImpl
extends ResourceImpl
implements BlankNode


Constructor Summary
AbstractBlankNodeImpl(java.lang.Object underlyingBlankNode)
          This method should only be called by RDF2Go implmentations
 
Method Summary
 BlankNode asBlankNode()
           
 URI asURI()
           
 int compareTo(Node other)
           
 boolean equals(java.lang.Object other)
           
abstract  java.lang.String getInternalID()
           
 java.lang.Object getUnderlyingBlankNode()
          This method should only be called by RDF2Go implmentations
 int hashCode()
           
 java.lang.String toSPARQL()
           
 java.lang.String toString()
           
 
Methods inherited from class org.ontoware.rdf2go.model.node.impl.ResourceImpl
asBoolean, asDatatypeLiteral, asDate, asInt, asLanguageTagLiteral, asLiteral, asResource, asString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ontoware.rdf2go.model.node.Node
asDatatypeLiteral, asLanguageTagLiteral, asLiteral, asResource
 

Constructor Detail

AbstractBlankNodeImpl

public AbstractBlankNodeImpl(java.lang.Object underlyingBlankNode)
This method should only be called by RDF2Go implmentations

Method Detail

getUnderlyingBlankNode

public java.lang.Object getUnderlyingBlankNode()
This method should only be called by RDF2Go implmentations


equals

public boolean equals(java.lang.Object other)
Specified by:
equals in class ResourceImpl

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

asURI

public URI asURI()
          throws java.lang.ClassCastException
Specified by:
asURI in interface Node
Throws:
java.lang.ClassCastException

asBlankNode

public BlankNode asBlankNode()
                      throws java.lang.ClassCastException
Specified by:
asBlankNode in interface Node
Throws:
java.lang.ClassCastException

hashCode

public int hashCode()
Specified by:
hashCode in class ResourceImpl

compareTo

public int compareTo(Node other)
Specified by:
compareTo in interface java.lang.Comparable<Node>

toSPARQL

public java.lang.String toSPARQL()
                          throws java.lang.UnsupportedOperationException
Specified by:
toSPARQL in interface Node
Throws:
java.lang.UnsupportedOperationException

getInternalID

public abstract java.lang.String getInternalID()
Specified by:
getInternalID in interface BlankNode


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.