eu.larkc.core.query
Class KeywordQueryImpl

java.lang.Object
  extended by eu.larkc.core.query.KeywordQueryImpl
All Implemented Interfaces:
KeywordQuery, Query, Resource, java.io.Serializable

public class KeywordQueryImpl
extends java.lang.Object
implements KeywordQuery

See Also:
Serialized Form

Constructor Summary
KeywordQueryImpl(java.lang.String... keywords)
           
 
Method Summary
 java.util.List<java.lang.String> getKeywords()
          Get the keywords of the query.
 SetOfStatements toRDF()
           
 SetOfStatements toRDF(SetOfStatements data)
          Returns this query represented as a SetOfStatements
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeywordQueryImpl

public KeywordQueryImpl(java.lang.String... keywords)
Method Detail

getKeywords

public java.util.List<java.lang.String> getKeywords()
Description copied from interface: KeywordQuery
Get the keywords of the query.

Specified by:
getKeywords in interface KeywordQuery
Returns:
The list of keywords.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toRDF

public SetOfStatements toRDF(SetOfStatements data)
Description copied from interface: Query
Returns this query represented as a SetOfStatements

Specified by:
toRDF in interface Query
Returns:
query represented as a SetOfStatements

toRDF

public SetOfStatements toRDF()
Specified by:
toRDF in interface Query