Uses of Class
com.attivio.sdk.token.Token
-
Packages that use Token Package Description com.attivio.sdk.token Models a token that can be both indexed and searched for in the Attivio repository.com.attivio.util Contains utility classes and methods used across the Attivio code base. -
-
Uses of Token in com.attivio.sdk.token
Methods in com.attivio.sdk.token that return Token Modifier and Type Method Description TokenToken. clone()static TokenToken. createElementAttributeToken(java.lang.String key, java.lang.String value)Creates an element attribute token.static TokenToken. createEndScopeToken(java.lang.String text)Creates an end scope token.static TokenToken. createStartScopeToken(java.lang.String text)Creates a start scope token.TokenPosition. endScope(java.lang.String name)Mark this position as the last position in scopename.TokenPosition. get()Get the primary Token for this position.Token[]Position. get(TokenAnnotation annotation)Get all Tokens for this position that contain the specified annotation.TokenTokenList. getFirst()Returns the first Token in this TokenList.TokenTokenList. getLast()Returns the last Token in this TokenList.TokenTokenIterator. getNext()Gets the next Token, without advancing the pointer.TokenPosition. getSurfaceToken()Returns the first token in this position that is a surface token.Token[]Position. getTokens()Gets all Tokens for this Position.TokenScopeInfo. next()TokenTokenEnum. next()Advance to the next element.TokenTokenIterator. next()Moves the iterator to the next Token in the TokenList and returns that token.TokenTokenEnum. reset(TokenList tokens)Position this TokenEnum at the beginning oftokens.TokenTokenEnum. seek(TokenEnum other)Position this TokenEnum at the same location asother.TokenTokenSink. startLanguageRegion(java.util.Locale locale)Start a language region forlocale.TokenPosition. startScope(java.lang.String name)Mark this position as the first position in scopename.TokenPosition. startScope(java.lang.String name, int increment)Mark this position as the first position in scopename.TokenToken. subSequence(int start, int end)Returns a new character sequence that is a subsequence of this sequence.TokenTokenEnum. token()Get the current token.TokenToken. toLowerCase()Convert all characters in this Token to be LowerCased.TokenToken. toUpperCase()Convert all characters in this Token to be LowerCased.static TokenToken. valueOf(java.lang.Object value)Return the token representation of an arbitraryvalue.Methods in com.attivio.sdk.token with parameters of type Token Modifier and Type Method Description voidPosition. add(Token t)Add a Token to this Position.voidTokenIterator. add(Token t, int increment)Appends a token.voidTokenList. add(Token t, int increment)Appends a token.voidTokenSink. add(Token t)Appends a token using the default position increment.abstract voidTokenSink. add(Token t, int increment)Appends a token.voidTokenListSerializer. addToken(Token token)TokenListTokenList. append(Token t)Appends a token using the default position increment.TokenListTokenList. append(Token t, int increment)Appends a token.TokenSinkTokenSink. append(Token t)Appends a token using the default position increment.TokenSinkTokenSink. append(Token t, int increment)Appends a token.booleanToken. bufferEquals(Token token)Return true if this Token's buffer contains the same text astoken.intToken. compareTo(Token other)intToken. compareToIgnoreCase(Token other)Case insensitive equivalent to compareTo.protected booleanToken. equals(Token other, long annotationMask)Compare this token toother.static java.lang.StringTokenList. join(Token[] tokens, int startIndex, int endIndex, char joinChar)Join the text for alltokensonjoinChar.intToken. offsetGap(Token previous)Get the offset gap betweenpreviousand this token.voidTokenIterator. set(Token t)Replaces the current Token with a new TokenvoidTokenListSerializer. startPosition(int increment, Token token)Method parameters in com.attivio.sdk.token with type arguments of type Token Modifier and Type Method Description booleanPosition. containsToken(java.util.function.Predicate<Token> predicate)Returnstrueif this position contains a token that matchespredicate.booleanTokenList. containsToken(java.util.function.Predicate<Token> predicate)Returnstrueif any token matchespredicate.voidPosition. filter(java.util.function.Predicate<Token> predicate)Remove all tokens from this position that do not matchpredicate.voidPosition. forEach(java.util.function.Consumer<Token> consumer)Pass each token in this position toconsumer.voidTokenList. forEachToken(java.util.function.Consumer<Token> consumer)Pass all tokens toconsumer.static java.lang.StringTokenList. join(java.lang.Iterable<Token> tokens, char joinChar)Join the text for alltokensonjoinChar.static java.lang.StringTokenList. join(java.util.Iterator<Token> tokens, char joinChar)Join the text for alltokensonjoinChar.intPosition. tokenCount(java.util.function.Predicate<Token> predicate)Returns the number of tokens in this position that matchpredicate.Constructors in com.attivio.sdk.token with parameters of type Token Constructor Description TokenList(Token token)Construct a new TokenList with a singletoken.TokenList(Token... tokens)Construct a new TokenList with the specifiedtokens. -
Uses of Token in com.attivio.util
Methods in com.attivio.util that return Token Modifier and Type Method Description TokenTokenUtils.TokenBuffer. token()Methods in com.attivio.util with parameters of type Token Modifier and Type Method Description voidTokenUtils.PositionBuffer. accept(Token token)voidTokenUtils.PositionBuffer. add(Token token)
-