T
- The concrete TaxonName class this strategy applies forpublic interface INameCacheStrategy extends IIdentifiableEntityCacheStrategy<TaxonName>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthorshipCache(TaxonName nonViralName)
Returns the composed author string.
|
java.lang.String |
getFullTitleCache(TaxonName taxonName)
Returns the full title cache as a string.
|
java.lang.String |
getFullTitleCache(TaxonName nonViralName,
HTMLTagRules htmlTagRules)
Returns the full title cache tagged by html tags according to tag rules.
|
java.lang.String |
getNameCache(TaxonName taxonName)
Returns the composed scientific taxon name string without authors or year.
|
java.lang.String |
getNameCache(TaxonName nonViralName,
HTMLTagRules htmlTagRules)
Returns the composed scientific taxon name string without authors or year.
|
java.util.List<TaggedText> |
getNomStatusTags(TaxonName taxonName,
boolean includeSeparatorBefore,
boolean includePostSeparator)
Get
TaggedText for the nomenclatural status part |
java.util.List<TaggedText> |
getTaggedFullTitle(TaxonName taxonName)
Same as
getTaggedTitle(TaxonName) but also includes the reference and
the nomenclatural status in the result. |
java.util.List<TaggedText> |
getTaggedName(TaxonName taxonName)
Same as
getTaggedTitle(TaxonName) but not including authorship. |
java.util.List<TaggedText> |
getTaggedTitle(TaxonName taxonName)
Returns a list of name typified tokens that together make up the name (including authorship etc.).
|
java.lang.String |
getTitleCache(TaxonName nonViralName,
HTMLTagRules htmlTagRules)
Returns the title cache tagged by html tags according to tag rules.
|
getTitleCache
java.util.List<TaggedText> getTaggedTitle(TaxonName taxonName)
taxonName
- null
if taxonName is null
java.util.List<TaggedText> getTaggedFullTitle(TaxonName taxonName)
getTaggedTitle(TaxonName)
but also includes the reference and
the nomenclatural status in the result.taxonName
- java.util.List<TaggedText> getNomStatusTags(TaxonName taxonName, boolean includeSeparatorBefore, boolean includePostSeparator)
TaggedText
for the nomenclatural status parttaxonName
- includeSeparatorBefore
- if a separator should be added beforeincludePostSeparator
- if a post-separator
should be added afterjava.lang.String getFullTitleCache(TaxonName taxonName)
taxonName
- java.lang.String getFullTitleCache(TaxonName nonViralName, HTMLTagRules htmlTagRules)
nonViralName
- htmlTagRules
- java.lang.String getTitleCache(TaxonName nonViralName, HTMLTagRules htmlTagRules)
nonViralName
- htmlTagRules
- java.lang.String getNameCache(TaxonName taxonName)
null
. This may be discussed
as for some functionality the nameCache is crucial and therefore
we maybe prefer to return the titleCache instead.java.lang.String getNameCache(TaxonName nonViralName, HTMLTagRules htmlTagRules)
getNameCache(TaxonName)
but using the given tag rules.java.util.List<TaggedText> getTaggedName(TaxonName taxonName)
getTaggedTitle(TaxonName)
but not including authorship.taxonName
- java.lang.String getAuthorshipCache(TaxonName nonViralName)
object
- Copyright © 2007-2020 EDIT. All Rights Reserved.