|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.PdfElementBase com.aspose.pdf.elements.Sections
public class Sections
Represents a collection of Section objects.
Constructor Summary | |
---|---|
Sections(Pdf pdf)
Initializes a new instance of the Sections class. |
Method Summary | |
---|---|
Section |
add()
Initializes a new instance of the Section class and add it to the Sections collection. |
void |
add(Section section)
Adds a new Section object into the collection. |
void |
clear()
Clear sections of pdf. |
java.lang.Object |
clone()
Sections does not support clone method. |
Section |
getAt(int index)
Gets a Section object from the collection at the index. |
Section |
getByID(java.lang.String ID)
Gets a Section object by the ID. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
int |
indexOf(Section section)
Gets the index of a specified section in the collection. |
void |
Insert(int index,
Section section)
Inserts a new Section object into the collection at specified position. |
boolean |
isEmpty()
Returns true if the collection contains no section. |
java.util.Iterator |
iterator()
Returns an iterator over the section objects in sections in proper sequence. |
void |
remove(int index)
Removes a Section object from the collection at the specified position. |
void |
remove(Section section)
Removes a Section object from the collection. |
int |
size()
Gets the size of section objects collection. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
---|
getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sections(Pdf pdf)
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class PdfElementBase
java.lang.CloneNotSupportedException
Object.clone()
public void add(Section section)
section
- the section that will be added.public Section add() throws AsposeBaseException
AsposeBaseException
public void clear()
public int indexOf(Section section)
public void Insert(int index, Section section)
index
- The position that the section will be inserted at.section
- the section that willed inserted.public Section getAt(int index)
public Section getByID(java.lang.String ID)
public void remove(Section section)
section
- The section that willed removed.public void remove(int index)
index
- The index of the section that willed removed.public int size()
public java.util.Iterator iterator()
public boolean isEmpty()
public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |