@Deprecated public class MarkedObject extends Object implements Element
Modifier and Type | Field and Description |
---|---|
protected Element |
element
Deprecated.
The element that is wrapped in a MarkedObject.
|
protected 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 and Description |
---|---|
protected |
MarkedObject()
Deprecated.
This constructor is for internal use only.
|
|
MarkedObject(Element element)
Deprecated.
Creates a MarkedObject.
|
Modifier and Type | Method and Description |
---|---|
List<Chunk> |
getChunks()
Deprecated.
Gets all the chunks in this element.
|
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(String key, String value)
Deprecated.
Adds one markup attribute.
|
int |
type()
Deprecated.
Gets the type of the text element.
|
protected Element element
protected Properties markupAttributes
protected MarkedObject()
public MarkedObject(Element element)
element
- the element
public 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 © 2016. All rights reserved.