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)
RtElementHandler
startParticle
in interface ParticleHandler
startParticle
in class RtElementHandler
public Object endParticle(Object o, QName elementName, ParticleBinding particle)
endParticle
in interface ParticleHandler
endParticle
in class RtElementHandler
public void setParent(Object parent, Object o, QName elementName, ParticleBinding particle, ParticleBinding parentParticle)
setParent
in interface ParticleHandler
setParent
in class RtElementHandler
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.