Class StatementBase

  • Direct Known Subclasses:

    public abstract class StatementBase
    extends java.lang.Object
    Abstract base class for StaementImpl - pulls up the stuff that doesn't depend on how statements are represented (as S/P/O or as Triples).
    • Method Detail

      • getModel

        public Model getModel()
      • getLiteral

        public abstract Literal getLiteral()
        Answer the object of this statement as a Literal, or throw a LiteralRequiredException.
      • getResource

        public abstract Resource getResource()
      • getSubject

        public abstract Resource getSubject()
      • getPredicate

        public abstract Property getPredicate()
      • getObject

        public abstract RDFNode getObject()
      • changeLiteralObject

        public Statement changeLiteralObject​(boolean o)
      • changeLiteralObject

        public Statement changeLiteralObject​(long o)
      • changeLiteralObject

        public Statement changeLiteralObject​(char o)
      • changeLiteralObject

        public Statement changeLiteralObject​(double o)
      • changeLiteralObject

        public Statement changeLiteralObject​(float o)
      • changeLiteralObject

        public Statement changeLiteralObject​(int o)
      • changeObject

        public Statement changeObject​(java.lang.String o)
      • changeObject

        public Statement changeObject​(java.lang.String o,
                                      boolean wellFormed)
      • changeObject

        public Statement changeObject​(java.lang.String o,
                                      java.lang.String l)
      • changeObject

        public Statement changeObject​(java.lang.String o,
                                      java.lang.String l,
                                      boolean wellFormed)
      • getBoolean

        public boolean getBoolean()
      • getByte

        public byte getByte()
      • getShort

        public short getShort()
      • getInt

        public int getInt()
      • getLong

        public long getLong()
      • getChar

        public char getChar()
      • getFloat

        public float getFloat()
      • getDouble

        public double getDouble()
      • getString

        public java.lang.String getString()
      • getLanguage

        public java.lang.String getLanguage()
      • getWellFormed

        public boolean getWellFormed()
      • hasWellFormedXML

        public boolean hasWellFormedXML()
      • toString

        public java.lang.String toString()
        Answer a string describing this Statement in a vaguely pretty way, with the representations of the subject, predicate, and object in that order.
        toString in class java.lang.Object