public class StackElement extends Object
Constructor and Description |
---|
StackElement(IObjectReaderHandler readerhandler,
QName tag,
Object object)
Create a new stack element.
|
StackElement(IObjectReaderHandler readerhandler,
QName tag,
Object object,
Map rawattrs)
Create a new stack element.
|
StackElement(IObjectReaderHandler readerhandler,
QName tag,
Object object,
Map rawattrs,
TypeInfo typeinfo,
ILocation location)
Create a new stack element.
|
StackElement(QName tag,
Object object)
Create a new stack element.
|
Modifier and Type | Method and Description |
---|---|
void |
addContent(String content)
Add content to the already collected content (if any).
|
boolean |
equals(Object obj)
Test if two stack elements are equal.
|
String |
getContent()
Get the content (if any).
|
ILocation |
getLocation()
Get the location.
|
Object |
getObject()
Get the object.
|
Map |
getRawAttributes()
Get the raw attributes.
|
IObjectReaderHandler |
getReaderHandler()
Get the current reader handler.
|
QName |
getTag()
Get the tag.
|
TypeInfo |
getTypeInfo()
Get the typeinfo.
|
int |
hashCode()
Get the hash code.
|
void |
setObject(Object object)
Set the object.
|
String |
toString()
Get the string representation.
|
public StackElement(IObjectReaderHandler readerhandler, QName tag, Object object)
public StackElement(IObjectReaderHandler readerhandler, QName tag, Object object, Map rawattrs)
public QName getTag()
public Object getObject()
public void setObject(Object object)
object
- The object to set.public String getContent()
public Map getRawAttributes()
public TypeInfo getTypeInfo()
public ILocation getLocation()
public void addContent(String content)
content
- The content to add.public String toString()
public boolean equals(Object obj)
public IObjectReaderHandler getReaderHandler()
Copyright © 2013. All Rights Reserved.