com.sun.tools.xjc.reader.xmlschema
Class MultiplicityCounter
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.MultiplicityCounter
- All Implemented Interfaces:
- XSTermFunction<Multiplicity>
public final class MultiplicityCounter
- extends Object
- implements XSTermFunction<Multiplicity>
Counts Multiplicity
for a particle/term.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theInstance
public static final MultiplicityCounter theInstance
particle
public Multiplicity particle(XSParticle p)
wildcard
public Multiplicity wildcard(XSWildcard wc)
- Specified by:
wildcard
in interface XSTermFunction<Multiplicity>
modelGroupDecl
public Multiplicity modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interface XSTermFunction<Multiplicity>
modelGroup
public Multiplicity modelGroup(XSModelGroup group)
- Specified by:
modelGroup
in interface XSTermFunction<Multiplicity>
elementDecl
public Multiplicity elementDecl(XSElementDecl decl)
- Specified by:
elementDecl
in interface XSTermFunction<Multiplicity>