eu.larkc.core.data
Class NaturalLanguageDocumentUrl
java.lang.Object
eu.larkc.core.data.NaturalLanguageDocumentUrl
- All Implemented Interfaces:
- InformationSet, NaturalLanguageDocument, java.io.Serializable
public class NaturalLanguageDocumentUrl
- extends java.lang.Object
- implements NaturalLanguageDocument
Implementation of Natural Language Document which is stored as URL and
retrieves the content when needed, once retrieved content is cached
- Author:
- Blaz Fortuna
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaturalLanguageDocumentUrl
public NaturalLanguageDocumentUrl(java.lang.String _urlStr)
getText
public java.lang.String getText()
- Specified by:
getText
in interface NaturalLanguageDocument
getUrl
public java.lang.String getUrl()
toRDF
public SetOfStatements toRDF(SetOfStatements data)
- Description copied from interface:
InformationSet
- Serializes this object to SetOfStatements.
- Specified by:
toRDF
in interface InformationSet
- Parameters:
data
- is stream to serialize this object to.
- Returns:
- reference to the set of statements that contains the serialized
data.