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

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

final class ExpressionParticleBinder
extends ParticleBinder

ParticleBinder that uses ExpressionBuilder et al for better, more intuitive (but non spec-conforming) binding.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.ParticleBinder
builder
 
Constructor Summary
ExpressionParticleBinder()
           
 
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

ExpressionParticleBinder

ExpressionParticleBinder()
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.