| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | Token(int
the token's formatting attributes formattingAttributes, boolean true if the token is part of the first
rendered field in a bibliography entryConstruct a new token |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Token | Returns: the copied tokenthe new first-field flag firstField)Create a copy of this token but replaces its first-field flag |
| public int | |
| public boolean | Returns: true if the token is part of the first fieldReturn |
| public abstract Token | Returns: the new token with wrapped formatting attributesthe other formatting attributes otherFormattingAttributes)Wrap other formatting attributes around the formatting attributes of this token and return a new token. |
| firstField | back to summary |
|---|---|
| private final boolean firstField | |
| formattingAttributes | back to summary |
|---|---|
| private final int formattingAttributes | |
| Token | back to summary |
|---|---|
| public Token(int formattingAttributes, boolean firstField) Construct a new token
| |
| copyWithFirstField | back to summary |
|---|---|
| public abstract Token copyWithFirstField(boolean firstField) Create a copy of this token but replaces its first-field flag
| |
| getFormattingAttributes | back to summary |
|---|---|
| public int getFormattingAttributes() Get the token's formatting attributes
| |
| isFirstField | back to summary |
|---|---|
| public boolean isFirstField() Return
| |
| wrapFormattingAttributes | back to summary |
|---|---|
| public abstract Token wrapFormattingAttributes(int otherFormattingAttributes) Wrap other formatting attributes around the formatting attributes of this token and return a new token. The formatting attributes of this token will be merged into the other attributes, so that attributes that are set in this token overwrite the other attributes.
| |