org.openanzo.glitter.rdf
Interface IPlainLiteralTerm
- All Superinterfaces:
- ILiteralTerm
- All Known Implementing Classes:
- Literal, PlainLiteral
public interface IPlainLiteralTerm
- extends ILiteralTerm
All IPlainLiteralTerm should return true for ILiteralTerm.isPlainLiteral().
However, isPlainLiteral trumps instanceof for determining if something is a plain literal.
- Author:
- Matthew Roy ( mroy@cambridgesemantics.com )
getLanguage
java.lang.String getLanguage()
- Returns:
- The language tag for this plain literal. May be null, unless
hasLanguage()
returns true.
hasLanguage
boolean hasLanguage()
- Returns:
- whether or not this literal has a language tag
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.