| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static StyleAttributeMapHelper. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static StyleAttributeMap | Returns: the instance of StyleAttributeMap, or nullthe style attribute map ss, boolean determines which attributes to retain forParagraph)Returns a new StyleAttributeMap instance which contains only paragraph attributes
when |
| public static StyleAttributeMap | Returns: the instance of StyleAttributeMap, or nullthe style attribute map ss)Returns a new StyleAttributeMap instance which contains only the character attributes, or null if no character attributes found. |
| public static StyleAttributeMap | Returns: the instance of StyleAttributeMap, or nullthe style attribute map ss)Returns a new StyleAttributeMap instance which contains only the paragraph attributes, or null if no paragraph attributes found. |
| public static boolean | Returns: true if the given attribute is a character one (isParagraph = false), or a paragraph one (isParagraph = true)the attribute a, boolean whether the expected type is a paragraph or a character isParagraph)Returns true if the given attribute is a character one (isParagraph = false), or a paragraph one (isParagraph = true) |
| public static void |
| accessor | back to summary |
|---|---|
| private static StyleAttributeMapHelper. | |
| StyleAttributeMapHelper | back to summary |
|---|---|
| public StyleAttributeMapHelper() | |
| filter | back to summary |
|---|---|
| public static StyleAttributeMap filter(StyleAttributeMap ss, boolean forParagraph) Returns a new StyleAttributeMap instance which contains only paragraph attributes
when
| |
| getCharacterAttrs | back to summary |
|---|---|
| public static StyleAttributeMap getCharacterAttrs(StyleAttributeMap ss) Returns a new StyleAttributeMap instance which contains only the character attributes, or null if no character attributes found.
| |
| getParagraphAttrs | back to summary |
|---|---|
| public static StyleAttributeMap getParagraphAttrs(StyleAttributeMap ss) Returns a new StyleAttributeMap instance which contains only the paragraph attributes, or null if no paragraph attributes found.
| |
| isAcceptable | back to summary |
|---|---|
| public static boolean isAcceptable(StyleAttribute<?> a, boolean isParagraph) Returns true if the given attribute is a character one (isParagraph = false), or a paragraph one (isParagraph = true)
| |
| setAccessor | back to summary |
|---|---|
| public static void setAccessor(StyleAttributeMapHelper. | |
| Modifier and Type | Method and Description |
|---|---|
| public StyleAttributeMap |
| filterAttributes | back to summary |
|---|---|
| public StyleAttributeMap filterAttributes(StyleAttributeMap ss, boolean isParagraph) | |