ElementMarkedSection@Deprecated public class MarkedObject extends java.lang.Object implements Element
| Modifier and Type | Field | Description |
|---|---|---|
protected Element |
element |
Deprecated.
The element that is wrapped in a MarkedObject.
|
protected java.util.Properties |
markupAttributes |
Deprecated.
Contains extra markupAttributes
|
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, BODY, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK| Modifier | Constructor | Description |
|---|---|---|
protected |
MarkedObject() |
Deprecated.
This constructor is for internal use only.
|
|
MarkedObject(Element element) |
Deprecated.
Creates a MarkedObject.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<Chunk> |
getChunks() |
Deprecated.
Gets all the chunks in this element.
|
java.util.Properties |
getMarkupAttributes() |
Deprecated.
Getter for the markup attributes.
|
boolean |
isContent() |
Deprecated.
Checks if this element is a content object.
|
boolean |
isNestable() |
Deprecated.
Checks if this element is nestable.
|
boolean |
process(ElementListener listener) |
Deprecated.
Processes the element by adding it (or the different parts) to an
ElementListener. |
void |
setMarkupAttribute(java.lang.String key,
java.lang.String value) |
Deprecated.
Adds one markup attribute.
|
int |
type() |
Deprecated.
Gets the type of the text element.
|
protected Element element
protected java.util.Properties markupAttributes
protected MarkedObject()
public MarkedObject(Element element)
element - the elementpublic java.util.List<Chunk> getChunks()
public boolean process(ElementListener listener)
ElementListener.public int type()
public boolean isContent()
ElementisContent in interface ElementElement.isContent()public boolean isNestable()
ElementisNestable in interface ElementElement.isNestable()public java.util.Properties getMarkupAttributes()
public void setMarkupAttribute(java.lang.String key,
java.lang.String value)
key - markup keyvalue - markup valueCopyright © 1998–2018. All rights reserved.