- <init>
Old style constructor. Creates either a plain literal or an XMLLiteral.
- areIllFormedLiteralsSameValueAs
Need to support comparison of ill-formed literals in order for the WG tests on
ill formed literals t
- getDefaultHashcode
Answer the default hash value, suitable for datatypes which have values which
support hashCode() nat
- getLexicalForm
Answer the lexical form of this literal, constructing it on-the-fly (and
remembering it) if necessar
- getValue
Answer a suitable instance of a Java class representing this literal's value.
May throw an exception
- isPlainLiteralSameValueAsOther
- isTypedLiteralSameValueAsOther
- isXML
Answer true iff this is a well-formed XML literal.
- looksLikePlainString
Answer true iff L has type XSD string and we're treating plain literals and xsd
string literals as "
- normalize
Normalize the literal. If the value is narrower than the current data type (e.g.
value is xsd:date b
- sameByFormAndLanguage
Answer true iff this and other have the same lexical form and [ignoring case]
language code. [Note:
- setLiteralLabel_1