public class TagMaskUtils extends Object
| Constructor and Description |
|---|
TagMaskUtils() |
| Modifier and Type | Method and Description |
|---|---|
static TagMask |
clone(TagMask tagMask)
Creates an identical copy of the parameter
tagMask. |
static TagMask |
createTagMaskFromToken(Token token,
String text)
Returns a TagMask with the attributes collected from the given token.
|
static TagMask |
parse(String text) |
public static TagMask clone(TagMask tagMask)
tagMask.tagMask - the tag mask to be clonedpublic static TagMask parse(String text)
text - a string containing the attributes and its values, e.g.,
"number=plural gender=male"public static TagMask createTagMaskFromToken(Token token, String text)
token - the token whose attributes will be collected.text - a string containing the attributes to get from the token,
e.g., "number gender"Copyright © 2012–2017 CoGrOO. All rights reserved.