@API(type=EXTENDABLE,
src=PUBLIC)
public class AuthorAttributesDisplayFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
SOURCE_ATTRIBUTES_VIEW
Source from where the callback is received.
|
static int |
SOURCE_CSS_CONTENT
Source from where the callback is received.
|
static int |
SOURCE_FULL_TAGS_WITH_ATTRS
Source from where the callback is received.
|
static int |
SOURCE_OUTLINE_VIEW
Source from where the callback is received.
|
Constructor and Description |
---|
AuthorAttributesDisplayFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldFilterAttribute(AuthorElement parentElement,
java.lang.String attributeQName,
int source)
Check if a certain attribute should be filtered from display.
|
public static final int SOURCE_ATTRIBUTES_VIEW
public static final int SOURCE_OUTLINE_VIEW
public static final int SOURCE_FULL_TAGS_WITH_ATTRS
public static final int SOURCE_CSS_CONTENT
public boolean shouldFilterAttribute(AuthorElement parentElement, java.lang.String attributeQName, int source)
parentElement
- The parent element.attributeQName
- The name of the attribute.source
- The place from which the attribute should be filtered.
One of the constants SOURCE_ATTRIBUTES_VIEW
or SOURCE_OUTLINE_VIEW
true
to avoid displaying the attribute.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.