Class ALiteralWrapper

  • All Implemented Interfaces:
    org.apache.jena.rdfxml.xmlinput.ALiteral, org.apache.jena.rdfxml.xmlinput.impl.ANode, org.apache.jena.rdfxml.xmlinput.impl.Taint

    public class ALiteralWrapper
    extends Object
    implements org.apache.jena.rdfxml.xmlinput.ALiteral
    INTERNAL: This class is used to wrap Jena Literal objects in the ARP ALiteral interface so that they can be streamed through the ARP StatementHandler interface without requiring new objects to be created.
    • Field Detail

      • literal

        public org.apache.jena.rdf.model.Literal literal
    • Constructor Detail

      • ALiteralWrapper

        public ALiteralWrapper()
    • Method Detail

      • isWellFormedXML

        public boolean isWellFormedXML()
        Specified by:
        isWellFormedXML in interface org.apache.jena.rdfxml.xmlinput.ALiteral
      • toString

        public String toString()
        Specified by:
        toString in interface org.apache.jena.rdfxml.xmlinput.ALiteral
        Overrides:
        toString in class Object
      • getLang

        public String getLang()
        Specified by:
        getLang in interface org.apache.jena.rdfxml.xmlinput.ALiteral
      • getDatatypeURI

        public String getDatatypeURI()
        Specified by:
        getDatatypeURI in interface org.apache.jena.rdfxml.xmlinput.ALiteral
      • taint

        public void taint()
        Specified by:
        taint in interface org.apache.jena.rdfxml.xmlinput.impl.Taint
      • isTainted

        public boolean isTainted()
        Specified by:
        isTainted in interface org.apache.jena.rdfxml.xmlinput.impl.Taint