private static class NameAbbreviator.PatternAbbreviator extends NameAbbreviator
Modifier and Type | Field and Description |
---|---|
private NameAbbreviator.PatternAbbreviatorFragment[] |
fragments
Element abbreviation patterns.
|
Constructor and Description |
---|
PatternAbbreviator(List fragments)
Create PatternAbbreviator.
|
Modifier and Type | Method and Description |
---|---|
void |
abbreviate(int nameStart,
StringBuffer buf)
Abbreviate name.
|
getAbbreviator, getDefaultAbbreviator
private final NameAbbreviator.PatternAbbreviatorFragment[] fragments
public PatternAbbreviator(List fragments)
fragments
- element abbreviation patterns.public void abbreviate(int nameStart, StringBuffer buf)
abbreviate
in class NameAbbreviator
buf
- buffer that abbreviated name is appended.nameStart
- start of name.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses