com.atlassian.confluence.search.contentnames
Class QueryToken

java.lang.Object
  extended by com.atlassian.confluence.search.contentnames.QueryToken

public class QueryToken
extends Object

A token emitted from tokenization performed by QueryTokenizer.


Nested Class Summary
static class QueryToken.Type
           
 
Constructor Summary
QueryToken(String text, QueryToken.Type type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getText()
           
 QueryToken.Type getType()
           
 int hashCode()
           
 void setType(QueryToken.Type type)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryToken

public QueryToken(String text,
                  QueryToken.Type type)
Method Detail

getText

public String getText()

getType

public QueryToken.Type getType()

setType

public void setType(QueryToken.Type type)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2012 Atlassian. All Rights Reserved.