JBoss XML Binding 2.0.3.GA-redhat-2

org.jboss.xb.util
Class DomParticleHandler

java.lang.Object
  extended by org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler
      extended by 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

Field Summary
static DomParticleHandler INSTANCE
           
 
Constructor Summary
DomParticleHandler()
           
 
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
 

Field Detail

INSTANCE

public static final DomParticleHandler INSTANCE
Constructor Detail

DomParticleHandler

public DomParticleHandler()
Method Detail

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

JBoss XML Binding 2.0.3.GA-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.