com.format.xml
API has been deprecated. Instead, use the com.format.xml.bind
API.public class TLcdXMLObjectStack extends Object implementsILcdXMLEditableObjectStack
ILcdXMLObjectStack
.Constructor and Description |
---|
TLcdXMLObjectStack()
Deprecated.
Creates a new, empty object stack.
|
TLcdXMLObjectStack(ILcdXMLObjectStack aObjectStack)
Deprecated.
Creates a new object stack, initialized with a copy of the given object stack.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
Use
clearObjectStack() instead. |
void |
clearObjectStack()
Deprecated.
Removes all elements from this stack.
|
Object |
getObject(int aIndex)
Deprecated.
Returns the object at the given index.
|
int |
getObjectCount()
Deprecated.
Returns the current stack size.
|
boolean |
isEmptyObjectStack()
Deprecated.
Returns
true if this stack is empty, false otherwise. |
Object |
peekObject()
Deprecated.
Returns the object on top of the stack.
|
Object |
pop()
Deprecated.
Use
popObject() instead. |
Object |
popObject()
Deprecated.
Removes the element on top of this stack and returns that object as the value of this
function.
|
void |
push(Object aObject)
Deprecated.
Use
pushObject(Object aObject) instead. |
void |
pushObject(Object aObject)
Deprecated.
Adds an element on top of this stack.
|
String |
toString()
Deprecated.
Returns a comma-separated String representation of this stack.
|
public TLcdXMLObjectStack()
public TLcdXMLObjectStack(ILcdXMLObjectStack aObjectStack)
aObjectStack
- the object stack with which this new stack should be initialized.public void push(Object aObject)
pushObject(Object aObject)
instead.aObject
- The item to be pushed on this stack.public Object pop()
popObject()
instead.EmptyStackException
- if this stack is empty.public void clear()
clearObjectStack()
instead.public Object popObject()
ILcdXMLEditableObjectStack
popObject
in interface ILcdXMLEditableObjectStack
public void pushObject(Object aObject)
ILcdXMLEditableObjectStack
pushObject
in interface ILcdXMLEditableObjectStack
aObject
- The item to be pushed on this stack.public void clearObjectStack()
ILcdXMLEditableObjectStack
clearObjectStack
in interface ILcdXMLEditableObjectStack
public Object peekObject()
ILcdXMLObjectStack
peekObject
in interface ILcdXMLObjectStack
public Object getObject(int aIndex)
ILcdXMLObjectStack
getObject
in interface ILcdXMLObjectStack
aIndex
- the index of the object to be retrieved.public boolean isEmptyObjectStack()
ILcdXMLObjectStack
true
if this stack is empty, false
otherwise.isEmptyObjectStack
in interface ILcdXMLObjectStack
true
if this stack is empty, false
otherwise.public int getObjectCount()
ILcdXMLObjectStack
getObjectCount
in interface ILcdXMLObjectStack