org.jboss.xb.builder.runtime
Class ChildWildcardHandler

java.lang.Object
  extended by org.jboss.xb.builder.runtime.ChildWildcardHandler
All Implemented Interfaces:
ParticleHandler

public class ChildWildcardHandler
extends Object
implements ParticleHandler

CollectionPropertyWildcardHandler.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
ChildWildcardHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
          Create a new ChildCollectionWildcardHandler.
ChildWildcardHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo, org.jboss.beans.info.spi.BeanInfo beanInfo, String property)
          Create a new ChildCollectionWildcardHandler.
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildWildcardHandler

public ChildWildcardHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Create a new ChildCollectionWildcardHandler.

Parameters:
propertyInfo - the property info
Throws:
IllegalArgumentException - for a null parameter

ChildWildcardHandler

public ChildWildcardHandler(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
                            org.jboss.beans.info.spi.BeanInfo beanInfo,
                            String property)
Create a new ChildCollectionWildcardHandler.

Parameters:
propertyInfo - the property info
beanInfo - the wrapper class
property - the wrapper property
Throws:
IllegalArgumentException - for a null parameter
Method Detail

startParticle

public Object startParticle(Object parent,
                            QName elementName,
                            ParticleBinding particle,
                            Attributes attrs,
                            NamespaceContext nsCtx)
Specified by:
startParticle in interface ParticleHandler

setParent

public void setParent(Object parent,
                      Object o,
                      QName elementName,
                      ParticleBinding particle,
                      ParticleBinding parentParticle)
Specified by:
setParent in interface ParticleHandler

endParticle

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


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.