com.sun.tools.xjc.reader.xmlschema
Class DefaultParticleBinder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.ParticleBinder
com.sun.tools.xjc.reader.xmlschema.DefaultParticleBinder
final class DefaultParticleBinder
- extends ParticleBinder
ParticleBinder
that follows the JAXB spec.
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 |
DefaultParticleBinder
DefaultParticleBinder()
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.