Class ARPDatatypeLiteral

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDatatypeURI()
      The datatype URI of a typed literal, or null for an untyped literal.
      java.lang.String getLang()
      The value of xml:lang for this literal, often the empty string.
      boolean isWellFormedXML()
      True if this literal was formed from a rdf:parseType="Literal" construction.
      java.lang.String toString()
      The string value of the literal.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ARPDatatypeLiteral

        public ARPDatatypeLiteral​(Frame f,
                                  java.lang.String lexf,
                                  URIReference dt)
                           throws org.xml.sax.SAXParseException
        Throws:
        org.xml.sax.SAXParseException
    • Method Detail

      • isWellFormedXML

        public boolean isWellFormedXML()
        Description copied from interface: ALiteral
        True if this literal was formed from a rdf:parseType="Literal" construction.
        Specified by:
        isWellFormedXML in interface ALiteral
        Returns:
        true for rdf:parseType="Literal" or any other unrecognised parseType.
        See Also:
        ALiteral.isWellFormedXML()
      • toString

        public java.lang.String toString()
        Description copied from interface: ALiteral
        The string value of the literal.
        Specified by:
        toString in interface ALiteral
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string.
      • getDatatypeURI

        public java.lang.String getDatatypeURI()
        Description copied from interface: ALiteral
        The datatype URI of a typed literal, or null for an untyped literal.
        Specified by:
        getDatatypeURI in interface ALiteral
        Returns:
        the URI as a String, or null
        See Also:
        ALiteral.getDatatypeURI()
      • getLang

        public java.lang.String getLang()
        Description copied from interface: ALiteral
        The value of xml:lang for this literal, often the empty string.
        Specified by:
        getLang in interface ALiteral
        Returns:
        xml:lang.
        See Also:
        ALiteral.getLang()