sofie.parsing
Class Token.Literal

java.lang.Object
  extended by sofie.parsing.Token
      extended by sofie.parsing.Token.Literal
All Implemented Interfaces:
java.lang.Comparable<Token>
Direct Known Subclasses:
Token.Date, Token.Number, Token.URL
Enclosing class:
Token

public abstract static class Token.Literal
extends Token

Literal tokens


Nested Class Summary
 
Nested classes/interfaces inherited from class sofie.parsing.Token
Token.AnyName, Token.CanonicProperName, Token.CommonIndividual, Token.Company, Token.Date, Token.Functional, Token.Literal, Token.NameType, Token.Number, Token.Person, Token.ProperName, Token.Punctuation, Token.Repeat, Token.SemiCanonicProperName, Token.Separator, Token.StartCommentToken, Token.StopWord, Token.Title, Token.URL, Token.USState, Token.WikiLink, Token.Word
 
Field Summary
 
Fields inherited from class sofie.parsing.Token
CATEGORY, HTMLCOMMENT, IGNORE, INFOBOXBAR, INFOBOXHEAD, original, REF, REVISION, SEPARATOR, STARTARTICLE, STARTBRACES, STARTINFOBOX, STARTSCRIPT, token
 
Constructor Summary
Token.Literal(java.lang.String s)
           
 
Method Summary
 boolean replaceMe()
          Tells whether the token shall be replaced by '@' in a pattern
abstract  basics.datagraph.LiteralYagoClass yagoClass()
          Point to the literal YAGO class
 
Methods inherited from class sofie.parsing.Token
compareTo, equals, hashCode, isInteresting, isMultiWord, original, token, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Token.Literal

public Token.Literal(java.lang.String s)
Method Detail

yagoClass

public abstract basics.datagraph.LiteralYagoClass yagoClass()
Point to the literal YAGO class


replaceMe

public boolean replaceMe()
Description copied from class: Token
Tells whether the token shall be replaced by '@' in a pattern

Overrides:
replaceMe in class Token