Class XMLLiteralTypeARP0

java.lang.Object
org.apache.jena.datatypes.BaseDatatype
org.apache.jena.rdfxml.xmlinput0.XMLLiteralTypeARP0
All Implemented Interfaces:
RDFDatatype

@Deprecated(forRemoval=true, since="5.0.0") public class XMLLiteralTypeARP0 extends BaseDatatype implements RDFDatatype
Deprecated, for removal: This API element is subject to removal in a future version.
Builtin data type to represent XMLLiteral (i.e. items created by use of rdf:parsetype='literal'. Version of rdf:XMLLiteral using ARP1 and hence has RDF1.0 semantics for the value space
  • Field Details

    • dtRDF10

      public static final RDFDatatype dtRDF10
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • unparse

      public String unparse(Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Convert a serialize a value of this datatype out to lexical form.
      Specified by:
      unparse in interface RDFDatatype
      Overrides:
      unparse in class BaseDatatype
    • parse

      public Object parse(String lexicalForm) throws DatatypeFormatException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parse a lexical form of this datatype to a value
      Specified by:
      parse in interface RDFDatatype
      Overrides:
      parse in class BaseDatatype
      Throws:
      DatatypeFormatException - if the lexical form is not legal
    • isValid

      public boolean isValid(String lexicalForm)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test whether the given string is a legal lexical form of this datatype.
      Specified by:
      isValid in interface RDFDatatype
      Overrides:
      isValid in class BaseDatatype