public XSAllComplexTypeImpl(XSType pOwner, XsTComplexType pType, XsTAll pAll) throws SAXException {
super(pOwner, pType);
all = pAll;
XSGroup group = pOwner.getXSSchema().getXSObjectFactory().newXSGroup(pOwner, all);
group.validate();
XSParticleImpl particle = new XSParticleImpl(group);
if (group.getParticles().length == 0) {
setParticle(XsComplexContentType.EMPTY, particle);
} else {
setParticle(pType.isMixed() ? XsComplexContentType.MIXED : XsComplexContentType.ELEMENT_ONLY, particle);