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

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

public interface IQName
extends IConcreteTerm

Represents the XML Schema datatype xsd:QName.

Author:
Adrian Marte

Field Summary
static String DATATYPE_URI
          Defines the XML Schema datatype URI.
 
Method Summary
 String getLocalPart()
          Returns the local part of this QName.
 String getNamespaceName()
          Returns the namespace name of this QName.
 String[] getValue()
          Returns an array containing the namespace name (first element) and the local part (second element).
 
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
 

Field Detail

DATATYPE_URI

static final String DATATYPE_URI
Defines the XML Schema datatype URI.

See Also:
Constant Field Values
Method Detail

getNamespaceName

String getNamespaceName()
Returns the namespace name of this QName.

Returns:
The namespace name of this QName.

getLocalPart

String getLocalPart()
Returns the local part of this QName.

Returns:
The local part of this QName.

getValue

String[] getValue()
Returns an array containing the namespace name (first element) and the local part (second element).

Specified by:
getValue in interface ITerm
Returns:
An array containing the namespace name (first element) and the local part (second element).