org.deri.iris.api.terms.concrete
Interface IXMLLiteral

All Superinterfaces:
Comparable<ITerm>, IConcreteTerm, ITerm
All Known Implementing Classes:
XMLLiteral

public interface IXMLLiteral
extends IConcreteTerm

A term representing a rdf:XMLLiteral.


Method Summary
 String getLang()
          Returns the language identifier for this XML element, or null if not language identifier is defined.
 String getString()
          Returns the represented XML element content as a string.
 String[] getValue()
          Returns a vale of the term.
 
Methods inherited from interface org.deri.iris.api.terms.IConcreteTerm
getDatatypeIRI, toCanonicalString
 
Methods inherited from interface org.deri.iris.api.terms.ITerm
isGround
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getValue

String[] getValue()
Description copied from interface: ITerm
Returns a vale of the term.

Specified by:
getValue in interface ITerm
Returns:
The term value.

getString

String getString()
Returns the represented XML element content as a string.

Returns:
The represented XML element content as a string.

getLang

String getLang()
Returns the language identifier for this XML element, or null if not language identifier is defined. This string directly corresponds to the xml:lang attribute.

Returns:
The language identifier for this XML element, or null if not language identifier is defined.