edu.stanford.nlp.ling.tokensregex.types
Class Tags.TagsAnnotation

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.types.Tags.TagsAnnotation
All Implemented Interfaces:
CoreAnnotation<Tags>, TypesafeMap.Key<CoreMap,Tags>
Enclosing class:
Tags

public static class Tags.TagsAnnotation
extends java.lang.Object
implements CoreAnnotation<Tags>


Constructor Summary
Tags.TagsAnnotation()
           
 
Method Summary
 java.lang.Class<Tags> getType()
          Returns the type associated with this annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tags.TagsAnnotation

public Tags.TagsAnnotation()
Method Detail

getType

public java.lang.Class<Tags> getType()
Description copied from interface: CoreAnnotation
Returns the type associated with this annotation. This method must return the same class type as its value type parameter. It feels like one should be able to get away without this method, but because Java erases the generic type signature, that info disappears at runtime.

Specified by:
getType in interface CoreAnnotation<Tags>


Stanford NLP Group