public BaseContentRef(final NGCCRuntimeEx $runtime, Ref.Type _baseType) { this.baseType = _baseType; $runtime.addPatcher(this); $runtime.addErrorChecker(new Patch() { public void run() throws SAXException { XSType t = baseType.getType(); if (t.isComplexType() && t.asComplexType().getContentType().asParticle()!=null) { $runtime.reportError( Messages.format(Messages.ERR_SIMPLE_CONTENT_EXPECTED, t.getTargetNamespace(), t.getName()), loc); } } }); this.loc = $runtime.copyLocator(); }
public BaseContentRef(final NGCCRuntimeEx $runtime, Ref.Type _baseType) { this.baseType = _baseType; $runtime.addPatcher(this); $runtime.addErrorChecker(new Patch() { public void run() throws SAXException { XSType t = baseType.getType(); if (t.isComplexType() && t.asComplexType().getContentType().asParticle()!=null) { $runtime.reportError( Messages.format(Messages.ERR_SIMPLE_CONTENT_EXPECTED, t.getTargetNamespace(), t.getName()), loc); } } }); this.loc = $runtime.copyLocator(); }
public BaseContentRef(final NGCCRuntimeEx $runtime, Ref.Type _baseType) { this.baseType = _baseType; $runtime.addPatcher(this); $runtime.addErrorChecker(new Patch() { public void run() throws SAXException { XSType t = baseType.getType(); if (t.isComplexType() && t.asComplexType().getContentType().asParticle()!=null) { $runtime.reportError( Messages.format(Messages.ERR_SIMPLE_CONTENT_EXPECTED, t.getTargetNamespace(), t.getName()), loc); } } }); this.loc = $runtime.copyLocator(); }
public BaseContentRef(final NGCCRuntimeEx $runtime, Ref.Type _baseType) { this.baseType = _baseType; $runtime.addPatcher(this); $runtime.addErrorChecker(new Patch() { public void run() throws SAXException { XSType t = baseType.getType(); if (t.isComplexType() && t.asComplexType().getContentType().asParticle()!=null) { $runtime.reportError( Messages.format(Messages.ERR_SIMPLE_CONTENT_EXPECTED, t.getTargetNamespace(), t.getName()), loc); } } }); this.loc = $runtime.copyLocator(); }
public BaseContentRef(final NGCCRuntimeEx $runtime, Ref.Type _baseType) { this.baseType = _baseType; $runtime.addPatcher(this); $runtime.addErrorChecker(new Patch() { public void run() throws SAXException { XSType t = baseType.getType(); if (t.isComplexType() && t.asComplexType().getContentType().asParticle()!=null) { $runtime.reportError( Messages.format(Messages.ERR_SIMPLE_CONTENT_EXPECTED, t.getTargetNamespace(), t.getName()), loc); } } }); this.loc = $runtime.copyLocator(); }