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

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.SequenceBinding
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ArraySequenceBinding

public class SequenceBinding
extends ModelGroupBinding

Version:
$Revision: 2999 $
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, qName, requiredParticle
 
Fields inherited from class org.jboss.xb.binding.sunday.unmarshalling.TermBinding
addMethodMetaData, beforeMarshallingCallback, beforeSetParentCallback, classMetaData, mapEntryKey, mapEntryMetaData, mapEntryValue, propertyMetaData, putMethodMetaData, schema, skip, valueAdapter, valueMetaData
 
Constructor Summary
SequenceBinding(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()
           
 String getGroupType()
           
 Collection<ParticleBinding> getParticles()
           
protected  boolean mayStartWith(QName qName, Set<ModelGroupBinding> set)
           
 ModelGroupBinding.Cursor newCursor(ParticleBinding particle)
           
 
Methods inherited from class org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding
clone, getHandler, getQName, hasRequiredParticle, isElement, isModelGroup, isSkip, isWildcard, mayStartWith, setHandler, setQName, toString
 
Methods inherited from class org.jboss.xb.binding.sunday.unmarshalling.TermBinding
getAddMethodMetaData, getBeforeMarshallingCallback, getBeforeSetParentCallback, getClassMetaData, getMapEntryMetaData, getPropertyMetaData, getPutMethodMetaData, getSchema, getValueAdapter, getValueMetaData, isMapEntryKey, isMapEntryValue, setAddMethodMetaData, setBeforeMarshallingCallback, setBeforeSetParentCallback, setClassMetaData, setMapEntryKey, setMapEntryMetaData, setMapEntryValue, setPropertyMetaData, setPutMethodMetaData, setSkip, setValueAdapter, setValueMetaData
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceBinding

public SequenceBinding(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<ParticleBinding> getParticles()
Specified by:
getParticles in class ModelGroupBinding

newCursor

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

mayStartWith

protected boolean mayStartWith(QName qName,
                               Set<ModelGroupBinding> set)
Specified by:
mayStartWith in class ModelGroupBinding

getGroupType

public String getGroupType()
Specified by:
getGroupType in class ModelGroupBinding


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