/** * Gets a {@link NameClass} that represents all the terms in the given content type. * If t is not a particle, just return an empty name class. */ private NameClass getNameClass(XSContentType t) { if(t==null) return NameClass.NULL; XSParticle p = t.asParticle(); if(p==null) return NameClass.NULL; else return p.getTerm().apply(contentModelNameClassBuilder); }
/** * Gets a {@link NameClass} that represents all the terms in the given content type. * If t is not a particle, just return an empty name class. */ private NameClass getNameClass(XSContentType t) { if(t==null) return NameClass.NULL; XSParticle p = t.asParticle(); if(p==null) return NameClass.NULL; else return p.getTerm().apply(contentModelNameClassBuilder); }
/** * Gets a {@link NameClass} that represents all the terms in the given content type. * If t is not a particle, just return an empty name class. */ private NameClass getNameClass(XSContentType t) { if(t==null) return NameClass.NULL; XSParticle p = t.asParticle(); if(p==null) return NameClass.NULL; else return p.getTerm().apply(contentModelNameClassBuilder); }
/** * Gets a {@link NameClass} that represents all the terms in the given content type. * If t is not a particle, just return an empty name class. */ private NameClass getNameClass(XSContentType t) { if(t==null) return NameClass.NULL; XSParticle p = t.asParticle(); if(p==null) return NameClass.NULL; else return p.getTerm().apply(contentModelNameClassBuilder); }
/** * Gets a {@link NameClass} that represents all the terms in the given content type. * If t is not a particle, just return an empty name class. */ private NameClass getNameClass(XSContentType t) { if(t==null) return NameClass.NULL; XSParticle p = t.asParticle(); if(p==null) return NameClass.NULL; else return p.getTerm().apply(contentModelNameClassBuilder); }
public Iterator<T> complexType(XSComplexType type) { // compensate particle XSParticle p = type.getContentType().asParticle(); if(p!=null) return particle(p); else return empty(); }
public Iterator<T> complexType(XSComplexType type) { // compensate particle XSParticle p = type.getContentType().asParticle(); if(p!=null) return particle(p); else return empty(); }
public Iterator<T> complexType(XSComplexType type) { // compensate particle XSParticle p = type.getContentType().asParticle(); if(p!=null) return particle(p); else return empty(); }
public Iterator<T> complexType(XSComplexType type) { // compensate particle XSParticle p = type.getContentType().asParticle(); if(p!=null) return particle(p); else return empty(); }
public Iterator<T> complexType(XSComplexType type) { // compensate particle XSParticle p = type.getContentType().asParticle(); if(p!=null) return particle(p); else return empty(); }
public void build(XSComplexType ct) { XSParticle p = ct.getContentType().asParticle(); builder.recordBindingMode(ct,NORMAL); bgmBuilder.getParticleBinder().build(p,Collections.singleton(p)); green.attContainer(ct); }
public void build(XSComplexType ct) { XSParticle p = ct.getContentType().asParticle(); builder.recordBindingMode(ct,NORMAL); bgmBuilder.getParticleBinder().build(p,Collections.singleton(p)); green.attContainer(ct); }
public void build(XSComplexType ct) { XSParticle p = ct.getContentType().asParticle(); builder.recordBindingMode(ct,NORMAL); bgmBuilder.getParticleBinder().build(p,Collections.singleton(p)); green.attContainer(ct); }
public void build(XSComplexType ct) { XSParticle p = ct.getContentType().asParticle(); builder.recordBindingMode(ct,NORMAL); bgmBuilder.getParticleBinder().build(p,Collections.singleton(p)); green.attContainer(ct); }
public void build(XSComplexType ct) { XSParticle p = ct.getContentType().asParticle(); builder.recordBindingMode(ct,NORMAL); bgmBuilder.getParticleBinder().build(p,Collections.singleton(p)); green.attContainer(ct); }
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); } } });
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); } } });
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); } } });
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); } } });
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); } } });