com.twitter
Class Extractor.Entity

java.lang.Object
  extended by com.twitter.Extractor.Entity
Enclosing class:
Extractor

public static class Extractor.Entity
extends Object


Nested Class Summary
static class Extractor.Entity.Type
           
 
Field Summary
protected  String displayURL
           
protected  int end
           
protected  String expandedURL
           
protected  String listSlug
           
protected  int start
           
protected  Extractor.Entity.Type type
           
protected  String value
           
 
Constructor Summary
Extractor.Entity(int start, int end, String value, Extractor.Entity.Type type)
           
Extractor.Entity(int start, int end, String value, String listSlug, Extractor.Entity.Type type)
           
Extractor.Entity(Matcher matcher, Extractor.Entity.Type type, int groupNumber)
           
Extractor.Entity(Matcher matcher, Extractor.Entity.Type type, int groupNumber, int startOffset)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDisplayURL()
           
 Integer getEnd()
           
 String getExpandedURL()
           
 String getListSlug()
           
 Integer getStart()
           
 Extractor.Entity.Type getType()
           
 String getValue()
           
 int hashCode()
           
 void setDisplayURL(String displayURL)
           
 void setExpandedURL(String expandedURL)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

start

protected int start

end

protected int end

value

protected final String value

listSlug

protected final String listSlug

type

protected final Extractor.Entity.Type type

displayURL

protected String displayURL

expandedURL

protected String expandedURL
Constructor Detail

Extractor.Entity

public Extractor.Entity(int start,
                        int end,
                        String value,
                        String listSlug,
                        Extractor.Entity.Type type)

Extractor.Entity

public Extractor.Entity(int start,
                        int end,
                        String value,
                        Extractor.Entity.Type type)

Extractor.Entity

public Extractor.Entity(Matcher matcher,
                        Extractor.Entity.Type type,
                        int groupNumber)

Extractor.Entity

public Extractor.Entity(Matcher matcher,
                        Extractor.Entity.Type type,
                        int groupNumber,
                        int startOffset)
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getStart

public Integer getStart()

getEnd

public Integer getEnd()

getValue

public String getValue()

getListSlug

public String getListSlug()

getType

public Extractor.Entity.Type getType()

getDisplayURL

public String getDisplayURL()

setDisplayURL

public void setDisplayURL(String displayURL)

getExpandedURL

public String getExpandedURL()

setExpandedURL

public void setExpandedURL(String expandedURL)


Copyright © 2014. All Rights Reserved.