01: /*
02: * LICENSE INFORMATION
03: * Copyright 2005-2007 by FZI (http://www.fzi.de).
04: * Licensed under a BSD license (http://www.opensource.org/licenses/bsd-license.php)
05: * <OWNER> = Max Völkel
06: * <ORGANIZATION> = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe, Germany
07: * <YEAR> = 2007
08: *
09: * Project information at http://semweb4j.org/rdf2go
10: */
11: package org.ontoware.rdf2go.model.node;
12:
13: /**
14: * This Interface represents a RDF literal. Any Literal Class should implement
15: * this
16: *
17: * The toString method should also return the getValue().
18: *
19: * Implementations are expected to have valid implementations of equals( Object )
20: * and hashCode()
21: *
22: * @author mvo
23: *
24: */
25: public interface Literal extends Node {
26:
27: /**
28: * gets the value of the literal
29: *
30: * @return The literal
31: */
32: public String getValue();
33:
34: }
|