com.format.xml
API has been deprecated. Instead, use the com.format.xml.bind
API.public class TLcdXMLNameStack extends Object implementsILcdXMLEditableNameStack
ILcdXMLNameStack
.Constructor and Description |
---|
TLcdXMLNameStack()
Deprecated.
Creates a new, empty stack.
|
TLcdXMLNameStack(ILcdXMLNameStack aNameStack)
Deprecated.
Creates a new name stack, initialized with a copy of the given name stack.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
use
clearNameStack() instead. |
void |
clearNameStack()
Deprecated.
Removes all elements from this stack.
|
TLcdXMLName |
getName(int aIndex)
Deprecated.
Returns the name at the given index.
|
int |
getNameCount()
Deprecated.
Returns the current stack size.
|
boolean |
isEmptyNameStack()
Deprecated.
Returns
true if this stack is empty, false otherwise. |
TLcdXMLName |
peekName()
Deprecated.
Returns the name on top of the stack.
|
TLcdXMLName |
pop()
Deprecated.
use
popName() instead. |
TLcdXMLName |
popName()
Deprecated.
Removes the element on top of this stack and returns that object as the value of this
function.
|
void |
push(TLcdXMLName aName)
Deprecated.
use
pushName() instead. |
void |
pushName(TLcdXMLName aName)
Deprecated.
Adds an element on top of this stack.
|
String |
toString()
Deprecated.
Returns a comma-separated String representation of this stack.
|
public TLcdXMLNameStack()
public TLcdXMLNameStack(ILcdXMLNameStack aNameStack)
aNameStack
- the name stack with which this new stack should be initialized.public void push(TLcdXMLName aName)
pushName()
instead.aName
- The item to be pushed on this stack.public TLcdXMLName pop()
popName()
instead.EmptyStackException
- if this stack is empty.public void clear()
clearNameStack()
instead.public TLcdXMLName popName()
ILcdXMLEditableNameStack
popName
in interface ILcdXMLEditableNameStack
public void pushName(TLcdXMLName aName)
ILcdXMLEditableNameStack
pushName
in interface ILcdXMLEditableNameStack
aName
- The item to be pushed on this stack.public void clearNameStack()
ILcdXMLEditableNameStack
clearNameStack
in interface ILcdXMLEditableNameStack
public TLcdXMLName peekName()
ILcdXMLNameStack
peekName
in interface ILcdXMLNameStack
public TLcdXMLName getName(int aIndex)
ILcdXMLNameStack
getName
in interface ILcdXMLNameStack
aIndex
- the index of the name to be retrieved.public boolean isEmptyNameStack()
ILcdXMLNameStack
true
if this stack is empty, false
otherwise.isEmptyNameStack
in interface ILcdXMLNameStack
true
if this stack is empty, false
otherwise.public int getNameCount()
ILcdXMLNameStack
getNameCount
in interface ILcdXMLNameStack