|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.xml.DeclaredPrefixesStack
This class represents a stack of declared namespace URI to prefix mapping.
Field Summary | |
int |
allocated
number of allocated elements in the stack |
java.lang.String[] |
prefixes
currently active prefixes |
java.lang.String[] |
prefixValues
values of currently active prefixes |
java.lang.String[] |
previousPrefixValues
their previous values which should be restored after the enclosing element finishes |
int |
used
number of used elements in the stack |
Constructor Summary | |
DeclaredPrefixesStack()
|
Method Summary | |
void |
enlarge(int amount)
Makes sure that used + amount < allocated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String[] prefixes
public java.lang.String[] prefixValues
public java.lang.String[] previousPrefixValues
public int allocated
public int used
Constructor Detail |
public DeclaredPrefixesStack()
Method Detail |
public void enlarge(int amount)
used + amount < allocated
amount
- the number items that the buffers should be
enlarged by
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |