org.jboss.xb.binding.sunday.unmarshalling
Class ChoiceBinding

java.lang.Object
  extended by org.jboss.xb.binding.sunday.unmarshalling.TermBinding
      extended by org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding
          extended by org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding
All Implemented Interfaces:
Cloneable

public class ChoiceBinding
extends ModelGroupBinding

Version:
$Revision: 1.14 $
Author:
Alexey Loubyansky

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding
ModelGroupBinding.Cursor
 
Field Summary
 
Fields inherited from class org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding
handler, log, requiredParticle
 
Fields inherited from class org.jboss.xb.binding.sunday.unmarshalling.TermBinding
addMethodMetaData, classMetaData, mapEntryKey, mapEntryMetaData, mapEntryValue, propertyMetaData, putMethodMetaData, schema, skip, valueAdapter, valueMetaData
 
Constructor Summary
ChoiceBinding(SchemaBinding schema)
           
 
Method Summary
 void addParticle(ParticleBinding particle)
          Model group that is passed in as an argument to this method must be fully populated with element, wildcard and child model group bindings.
 ElementBinding getArrayItem()
           
 Collection getParticles()
           
protected  boolean mayStartWith(javax.xml.namespace.QName qName, Set set)
           
 ModelGroupBinding.Cursor newCursor(ParticleBinding particle)
           
 
Methods inherited from class org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding
clone, getHandler, hasRequiredParticle, isModelGroup, isSkip, isWildcard, mayStartWith, setHandler
 
Methods inherited from class org.jboss.xb.binding.sunday.unmarshalling.TermBinding
getAddMethodMetaData, getClassMetaData, getMapEntryMetaData, getPropertyMetaData, getPutMethodMetaData, getSchema, getValueAdapter, getValueMetaData, isMapEntryKey, isMapEntryValue, setAddMethodMetaData, setClassMetaData, setMapEntryKey, setMapEntryMetaData, setMapEntryValue, setPropertyMetaData, setPutMethodMetaData, setSkip, setValueAdapter, setValueMetaData
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceBinding

public ChoiceBinding(SchemaBinding schema)
Method Detail

getArrayItem

public ElementBinding getArrayItem()
Specified by:
getArrayItem in class ModelGroupBinding

addParticle

public void addParticle(ParticleBinding particle)
Description copied from class: ModelGroupBinding
Model group that is passed in as an argument to this method must be fully populated with element, wildcard and child model group bindings.

Overrides:
addParticle in class ModelGroupBinding

getParticles

public Collection getParticles()
Specified by:
getParticles in class ModelGroupBinding

newCursor

public ModelGroupBinding.Cursor newCursor(ParticleBinding particle)
Specified by:
newCursor in class ModelGroupBinding

mayStartWith

protected boolean mayStartWith(javax.xml.namespace.QName qName,
                               Set set)
Specified by:
mayStartWith in class ModelGroupBinding


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