|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.VariableCollection
public class VariableCollection
Constructor Summary | |
---|---|
VariableCollection()
Initializes a new instance of the |
Method Summary | |
---|---|
void |
add(java.lang.String name,
java.lang.String value)
Adds variable to document. |
java.lang.String |
get(java.lang.String name)
Gets or sets the variable with the specified name. |
int |
getCount()
Gets the count of variables. |
java.lang.String |
getNameByIndex(int index)
Gets variable's key by the index. |
java.lang.String |
getValueByIndex(int index)
Gets variable's value by the index. |
java.util.Iterator |
iterator()
|
void |
remove(java.lang.String name)
Removes document variable with specified name from the document. |
void |
set(java.lang.String name,
java.lang.String value)
Gets or sets the variable with the specified name. |
Constructor Detail |
---|
public VariableCollection()
Method Detail |
---|
public java.lang.String get(java.lang.String name)
name
-
public void set(java.lang.String name, java.lang.String value)
name
- value
- public int getCount()
public void add(java.lang.String name, java.lang.String value)
name
- The name.value
- The value.public java.lang.String getNameByIndex(int index)
index
- The index.
public java.lang.String getValueByIndex(int index)
index
- The index.
public void remove(java.lang.String name)
name
- The name.public java.util.Iterator iterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |