public class DomParticleHandler extends RtElementHandler implements ParticleHandler
| Modifier and Type | Field and Description |
|---|---|
static DomParticleHandler |
INSTANCE |
| Constructor and Description |
|---|
DomParticleHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
endParticle(Object o,
QName elementName,
ParticleBinding particle) |
void |
setParent(Object parent,
Object o,
QName elementName,
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 DomParticleHandler INSTANCE
public Object startParticle(Object parent, QName elementName, ParticleBinding particle, Attributes attrs, NamespaceContext nsCtx)
RtElementHandlerstartParticle in interface ParticleHandlerstartParticle in class RtElementHandlerpublic Object endParticle(Object o, QName elementName, ParticleBinding particle)
endParticle in interface ParticleHandlerendParticle in class RtElementHandlerpublic void setParent(Object parent, Object o, QName elementName, ParticleBinding particle, ParticleBinding parentParticle)
setParent in interface ParticleHandlersetParent in class RtElementHandlerCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.