org.jboss.xb.binding.sunday.unmarshalling
Class ModelGroupBinding
java.lang.Object
org.jboss.xb.binding.sunday.unmarshalling.TermBinding
org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- AllBinding, ChoiceBinding, SequenceBinding
public abstract class ModelGroupBinding
- extends TermBinding
- implements Cloneable
- Version:
- $Revision: 1.14 $
- Author:
- Alexey Loubyansky
Fields inherited from class org.jboss.xb.binding.sunday.unmarshalling.TermBinding |
addMethodMetaData, classMetaData, mapEntryKey, mapEntryMetaData, mapEntryValue, propertyMetaData, putMethodMetaData, schema, skip, valueAdapter, valueMetaData |
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 |
log
protected static final Logger log
requiredParticle
protected boolean requiredParticle
handler
protected ParticleHandler handler
ModelGroupBinding
protected ModelGroupBinding(SchemaBinding schema)
getHandler
public ParticleHandler getHandler()
setHandler
public void setHandler(ParticleHandler handler)
getArrayItem
public abstract ElementBinding getArrayItem()
addParticle
public 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.
- Parameters:
particle
-
getParticles
public abstract Collection getParticles()
hasRequiredParticle
public boolean hasRequiredParticle()
mayStartWith
public boolean mayStartWith(javax.xml.namespace.QName qName)
- This method is not actually used during parsing. It's here only for internal tests.
- Parameters:
qName
- an element name
- Returns:
- true if the model group may start with the specified element
newCursor
public abstract ModelGroupBinding.Cursor newCursor(ParticleBinding particle)
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
mayStartWith
protected abstract boolean mayStartWith(javax.xml.namespace.QName qName,
Set set)
isSkip
public boolean isSkip()
- Specified by:
isSkip
in class TermBinding
isModelGroup
public boolean isModelGroup()
- Specified by:
isModelGroup
in class TermBinding
isWildcard
public boolean isWildcard()
- Specified by:
isWildcard
in class TermBinding
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.