public class RtElementHandler extends Object implements ParticleHandler
| Modifier and Type | Field and Description |
|---|---|
static RtElementHandler |
INSTANCE |
| Constructor and Description |
|---|
RtElementHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
endParticle(Object o,
QName elementName,
ParticleBinding particle) |
void |
setParent(Object parent,
Object o,
QName qName,
ParticleBinding particle,
ParticleBinding parentParticle) |
Object |
startParticle(Object parent,
QName elementName,
ParticleBinding particle,
Attributes attrs,
NamespaceContext nsCtx)
TODO: it seems like for correct type resolution in startParticle
I should take into account the way the object is going to be added
to the parent in setParent (and, hence, do some steps that are done in setParticle).
|
public static final RtElementHandler INSTANCE
public Object startParticle(Object parent, QName elementName, ParticleBinding particle, Attributes attrs, NamespaceContext nsCtx)
startParticle in interface ParticleHandlerpublic void setParent(Object parent, Object o, QName qName, ParticleBinding particle, ParticleBinding parentParticle)
setParent in interface ParticleHandlerpublic Object endParticle(Object o, QName elementName, ParticleBinding particle)
endParticle in interface ParticleHandlerCopyright © 2016 JBoss by Red Hat. All rights reserved.