|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.doc.documents.markup.customxmlpartcollection
public class customxmlpartcollection
represents a collection of custom xml parts. the items are document.getcustomxmlparts() property.
see also customxmlpart.
see also document.getcustomxmlparts()
| constructor summary | |
|---|---|
customxmlpartcollection(document doc)
initializes an instance of this class. |
|
| method summary | |
|---|---|
void |
add(customxmlpart part)
adds an item to the collection. |
void |
clear()
removes all elements from the collection. |
customxmlpartcollection |
deepclone()
makes a deep copy of this collection and its items. |
customxmlpart |
get(int index)
gets an item at the specified index. |
customxmlpart |
getbyid(java.lang.string id)
finds and returns a custom xml part by its identifier. |
int |
getcount()
gets the number of elements contained in the collection. |
java.util.iterator |
iterator()
returns an iterator object that can be used to iterate over all items in the collection. |
void |
removeat(int index)
removes an item at the specified index. |
void |
set(int index,
customxmlpart value)
sets an item at the specified index. |
| constructor detail |
|---|
public customxmlpartcollection(document doc)
doc - document| method detail |
|---|
public int getcount()
public customxmlpart get(int index)
index - zero-based index of the item.
public void set(int index,
customxmlpart value)
index - zero-based index of the item.value - customxmlpartpublic java.util.iterator iterator()
public void add(customxmlpart part)
part - the custom xml part to add.public void removeat(int index)
index - the zero based index.public void clear()
public customxmlpart getbyid(java.lang.string id)
id - case-sensitive string that identifies the custom xml part.
public customxmlpartcollection deepclone()
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||