org.jboss.xb.util
Class DomParticleHandler
java.lang.Object
org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler
org.jboss.xb.util.DomParticleHandler
- All Implemented Interfaces:
- ParticleHandler
public class DomParticleHandler
- extends RtElementHandler
- implements ParticleHandler
ParticleHandler that unmarshals into org.w3c.dom.Element.
- Version:
- $Revision: 46112 $
- Author:
- Alexey Loubyansky
|
Method Summary |
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). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DomParticleHandler INSTANCE
DomParticleHandler
public DomParticleHandler()
startParticle
public Object startParticle(Object parent,
QName elementName,
ParticleBinding particle,
Attributes attrs,
NamespaceContext nsCtx)
- Description copied from class:
RtElementHandler
- 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).
In setParent then I should reuse the results of what has been done in startParticle.
- Specified by:
startParticle in interface ParticleHandler- Overrides:
startParticle in class RtElementHandler
endParticle
public Object endParticle(Object o,
QName elementName,
ParticleBinding particle)
- Specified by:
endParticle in interface ParticleHandler- Overrides:
endParticle in class RtElementHandler
setParent
public void setParent(Object parent,
Object o,
QName elementName,
ParticleBinding particle,
ParticleBinding parentParticle)
- Specified by:
setParent in interface ParticleHandler- Overrides:
setParent in class RtElementHandler
Copyright © 2007 JBoss Inc.. All Rights Reserved.