com.sun.tools.xjc.reader.xmlschema
Class ExpressionParticleBinder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.ParticleBinder
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionParticleBinder
ExpressionParticleBinder()
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.