Element
MarkedSection
public class MarkedObject extends Object implements Element
Modifier and Type | Field | Description |
---|---|---|
protected Element |
element |
The element that is wrapped in a MarkedObject.
|
protected Properties |
markupAttributes |
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() |
This constructor is for internal use only.
|
|
MarkedObject(Element element) |
Creates a MarkedObject.
|
Modifier and Type | Method | Description |
---|---|---|
List<Chunk> |
getChunks() |
Gets all the chunks in this element.
|
Properties |
getMarkupAttributes() |
Getter for the markup attributes.
|
boolean |
isContent() |
Checks if this element is a content object.
|
boolean |
isNestable() |
Checks if this element is nestable.
|
boolean |
process(ElementListener listener) |
Processes the element by adding it (or the different parts) to an
ElementListener . |
void |
setMarkupAttribute(String key,
String value) |
Adds one markup attribute.
|
int |
type() |
Gets the type of the text element.
|
protected Element element
protected Properties markupAttributes
protected MarkedObject()
public MarkedObject(Element element)
element
- the elementpublic boolean process(ElementListener listener)
ElementListener
.public int type()
public boolean isContent()
Element
isContent
in interface Element
Element.isContent()
public boolean isNestable()
Element
isNestable
in interface Element
Element.isNestable()
public Properties getMarkupAttributes()
Copyright © 2018. All rights reserved.