XSParticle as properties of the class that's being built.
| Modifier and Type | Field and Description |
|---|---|
| protected final BGMBuilder |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final void | build(XSParticle p)
Builds the |
| public abstract void | build(XSParticle p, Collection<XSParticle> forcedProps)
The version of the build method that forces a specified set of particles to become a property. |
| public abstract boolean | Returns: false if the fallback will not happen.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. |
| protected final String | |
| protected final ClassSelector | |
| protected final CClassInfo | |
| protected final ErrorReporter | |
| protected final <T extends BIDeclaration> T | |
| protected final BIProperty | getLocalPropCustomization(XSParticle p)
Gets the BIProperty object that applies to the given particle. |
| protected final String | getSpecDefaultName(XSModelGroup mg, final boolean
if the said model group is repeated more than once repeated)Computes a name from unnamed model group by following the spec. |
| protected final String | makeJavaName(boolean isRepeated, String xmlName)
Converts an XML name to the corresponding Java name. |
| protected final String |
| builder | back to summary |
|---|---|
| protected final BGMBuilder builder | |
| ParticleBinder | back to summary |
|---|---|
| protected ParticleBinder() | |
| build | back to summary |
|---|---|
| public final void build(XSParticle p) Builds the | |
| build | back to summary |
|---|---|
| public abstract void build(XSParticle p, Collection<XSParticle> forcedProps) The version of the build method that forces a specified set of particles to become a property. | |
| checkFallback | back to summary |
|---|---|
| public abstract 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.
| |
| computeLabel | back to summary |
|---|---|
| protected final String computeLabel(XSParticle p) Computes the label of a given particle. Usually, the getLabel method should be used instead. | |
| getClassSelector | back to summary |
|---|---|
| protected final ClassSelector getClassSelector() | |
| getCurrentBean | back to summary |
|---|---|
| protected final CClassInfo getCurrentBean() | |
| getErrorReporter | back to summary |
|---|---|
| protected final ErrorReporter getErrorReporter() | |
| getLocalCustomization | back to summary |
|---|---|
| protected final <T extends BIDeclaration> T getLocalCustomization(XSParticle p, Class<T> type) | |
| getLocalPropCustomization | back to summary |
|---|---|
| protected final BIProperty getLocalPropCustomization(XSParticle p) Gets the BIProperty object that applies to the given particle. | |
| getSpecDefaultName | back to summary |
|---|---|
| protected final String getSpecDefaultName(XSModelGroup mg, final boolean repeated) throws ParseException Computes a name from unnamed model group by following the spec. Taking first three elements and combine them.
| |
| makeJavaName | back to summary |
|---|---|
| protected final String makeJavaName(boolean isRepeated, String xmlName) Converts an XML name to the corresponding Java name. | |
| makeJavaName | back to summary |
|---|---|
| protected final String makeJavaName(XSParticle p, String xmlName) | |