com.sun.tools.xjc.reader.xmlschema
Class DefaultParticleBinder

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.ParticleBinder
      extended by com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder

final class DefaultParticleBinder
extends ParticleBinder

ParticleBinder that follows the JAXB spec.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.ParticleBinder
builder
 
Constructor Summary
DefaultParticleBinder()
           
 
Method Summary
 void build(XSParticle p, Collection<XSParticle> forcedProps)
          The version of the build method that forces a specified set of particles to become a property.
 boolean checkFallback(XSParticle p)
          Similar to the build method but this method only checks if the BGM that will be built by the build method will do the fallback (map all the properties into one list) or not.
 
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.ParticleBinder
build, computeLabel, getClassSelector, getCurrentBean, getErrorReporter, getLocalCustomization, getLocalPropCustomization, getSpecDefaultName, makeJavaName, makeJavaName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParticleBinder

DefaultParticleBinder()
Method Detail

build

public void build(XSParticle p,
                  Collection<XSParticle> forcedProps)
Description copied from class: ParticleBinder
The version of the build method that forces a specified set of particles to become a property.

Specified by:
build in class ParticleBinder

checkFallback

public boolean checkFallback(XSParticle p)
Description copied from class: ParticleBinder
Similar to the build method but this method only checks if the BGM that will be built by the build method will do the fallback (map all the properties into one list) or not.

Specified by:
checkFallback in class ParticleBinder
Returns:
false if the fallback will not happen.