|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.view.excerpt.ExcerptConfig
public class ExcerptConfig
Allows fine grained configuration over what and how much content is included in an excerpt produced
by an Excerpter
.
Nested Class Summary | |
---|---|
static class |
ExcerptConfig.Builder
|
Constructor Summary | |
---|---|
protected |
ExcerptConfig(ExcerptConfig.Builder builder)
|
Method Summary | |
---|---|
static ExcerptConfig.Builder |
builder()
Factory method for creating builders for this class |
protected java.util.Set<java.lang.String> |
getBlockElementSet()
|
protected java.util.Set<java.lang.String> |
getContainerElementSet()
|
java.util.Set<java.lang.String> |
getExcludedHtmlElements()
|
java.util.Set<java.lang.String> |
getExcludedLastHtmlElements()
a set of html tags that the excerpter will attempt to not finish on. |
MacroDefinitionUpdater |
getMacroDefinitionUpdater()
A macro definition updater to be applied to the storage format before rendering the excerpt to view. |
int |
getMaxBlocks()
The maximum number of blocks to include in this excerpt. |
int |
getMaxCharCount()
The maximum character count to include in the excerpt. |
int |
getMinBlocks()
The minimum block count to include int he excerpt, the excerter should continue accepting blocks whilst no other maximums are exceeded if the block count is below this number. |
int |
getMinCharCount()
The minimum character count to include in the excerpt, the excerpt should continue taking characters whilst no other maximums are exceeded if the character count is below this number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExcerptConfig(ExcerptConfig.Builder builder)
Method Detail |
---|
public static ExcerptConfig.Builder builder()
protected java.util.Set<java.lang.String> getContainerElementSet()
protected java.util.Set<java.lang.String> getBlockElementSet()
public int getMaxBlocks()
public int getMinBlocks()
public int getMinCharCount()
public int getMaxCharCount()
public java.util.Set<java.lang.String> getExcludedHtmlElements()
public java.util.Set<java.lang.String> getExcludedLastHtmlElements()
public MacroDefinitionUpdater getMacroDefinitionUpdater()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |