if (particle.isElement()) {
PropertySG elementSG = particle.getPropertySG();
elementSG.generate(pSource);
} else if (particle.isGroup()) {
// TODO: Implement groups referencing groups
throw new LocSAXException("Nested groups are yet unsupported", particle.getLocator());
} else if (particle.isWildcard()) {
// TODO: Implement Wildcard handling
throw new LocSAXException("Wildcard handling is not implemented", particle.getLocator());
} else {
throw new IllegalStateException("Unknown particle type: Neither of element, group, or wildcard");
}
}
log.finest(mName, "<-");