org.jboss.xb.binding.sunday.unmarshalling.impl.runtime
Class RtElementHandler

java.lang.Object
  extended by org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler
All Implemented Interfaces:
ParticleHandler

public class RtElementHandler
extends Object
implements ParticleHandler

Version:
$Revision: 1.41 $
Author:
Alexey Loubyansky

Field Summary
static RtElementHandler INSTANCE
           
 
Constructor Summary
RtElementHandler()
           
 
Method Summary
 Object endParticle(Object o, javax.xml.namespace.QName elementName, ParticleBinding particle)
           
 void setParent(Object parent, Object o, javax.xml.namespace.QName qName, ParticleBinding particle, ParticleBinding parentParticle)
           
 Object startParticle(Object parent, javax.xml.namespace.QName elementName, ParticleBinding particle, Attributes attrs, javax.xml.namespace.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 RtElementHandler INSTANCE
Constructor Detail

RtElementHandler

public RtElementHandler()
Method Detail

startParticle

public Object startParticle(Object parent,
                            javax.xml.namespace.QName elementName,
                            ParticleBinding particle,
                            Attributes attrs,
                            javax.xml.namespace.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). In setParent then I should reuse the results of what has been done in startParticle.

Specified by:
startParticle in interface ParticleHandler

setParent

public void setParent(Object parent,
                      Object o,
                      javax.xml.namespace.QName qName,
                      ParticleBinding particle,
                      ParticleBinding parentParticle)
Specified by:
setParent in interface ParticleHandler

endParticle

public Object endParticle(Object o,
                          javax.xml.namespace.QName elementName,
                          ParticleBinding particle)
Specified by:
endParticle in interface ParticleHandler


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.