org.jrdf.graph
Interface Value

All Known Subinterfaces:
DatatypeValue, Literal, LiteralMutableId, XSDDecimal
All Known Implementing Classes:
AbstractLiteral, AnyURIValue, BooleanValue, ByteValue, CalendarValue, DateTimeValue, DecimalValue, DoubleValue, DurationValue, FloatValue, GMonthCalendarValue, IntegerValue, IntValue, LiteralImpl, LiteralImpl, LongValue, NonNegativeIntegerValue, NonPositiveIntegerValue, QNameValue, ShortValue, StringValue

public interface Value

Represents a wrapper of Literal values. Used for wrapping native values.


Method Summary
 String getLexicalForm()
          Obtain the text of this literal.
 Object getValue()
          Object the native Java type for this value.
 boolean isWellFormedXML()
          Whether the literal is well formed XML.
 

Method Detail

getLexicalForm

String getLexicalForm()
Obtain the text of this literal.

Returns:
the text of the literal, never null

getValue

Object getValue()
Object the native Java type for this value.

Returns:
the native java type for this value.

isWellFormedXML

boolean isWellFormedXML()
Whether the literal is well formed XML.

Returns:
whether the literal is wll formed XML.