build(XSParticle p, Collection<XSParticle> forcedProps) The version of the build method that forces a specified set of particles
to become a property.
abstractpublic 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.
getSpecDefaultName(XSModelGroup mg, boolean repeated) Computes a name from unnamed model group by following the spec.
Taking first three elements and combine them.
Parameters: repeated - if the said model group is repeated more than once exception: ParseException - If the method cannot generate a name.
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.
false if the fallback will not happen.
Computes a name from unnamed model group by following the spec.
Taking first three elements and combine them.
Parameters: repeated - if the said model group is repeated more than once exception: ParseException - If the method cannot generate a name. For example, whena model group doesn't contain any element reference/declarationat all.
makeJavaName
final protectedString makeJavaName(boolean isRepeated, String xmlName)(Code)
Converts an XML name to the corresponding Java name.