|
com.aspose.pdf.elements
Class PdfElementBase
java.lang.Object
com.aspose.pdf.elements.PdfElementBase
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- Cell, Cells, ImageInfo, Paragraph, Row, Rows, Section, Sections, Segment, Segments, Shapes
public abstract class PdfElementBase - extends java.lang.Object
- implements java.lang.Cloneable
Base class of all pdf element.
|
Method Summary |
java.lang.Object |
clone()
Clone an object. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
ElementFactory |
getElementFactory()
Gets the DOM element factory.
User should not pay any attention to this method. |
java.lang.String |
getID()
Gets the element ID in xml. |
static int |
getNameIndex()
Gets an automated name index. |
void |
setID(java.lang.String ID)
Sets the element ID in xml. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PdfElementBase
public PdfElementBase(ElementFactory elementFactory)
- Explicit Constructor of PdfElementBase.
- Parameters:
elementFactory -
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Clone an object.
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException- See Also:
Object.clone()
getElementFactory
public ElementFactory getElementFactory()
- Gets the DOM element factory.
User should not pay any attention to this method.
getDOMElement
public org.w3c.dom.Element getDOMElement()
throws AsposeBaseException
- Gets a DOM representation of the pdf element.
- Throws:
AsposeBaseException
getNameIndex
public static int getNameIndex()
- Gets an automated name index.
getID
public java.lang.String getID()
- Gets the element ID in xml.
setID
public void setID(java.lang.String ID)
- Sets the element ID in xml.
|