protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // type declaration is allowed only when we haven't seen type definition. if( super.exp==null ) { if( tag.localName.equals("simpleType") ) return reader.sfactory.simpleType(this,tag); if( tag.localName.equals("complexType") ) return reader.sfactory.complexTypeDecl(this,tag); } // unique/key/keyref are ignored. if( tag.localName.equals("unique") ) return reader.sfactory.unique(this,tag); if( tag.localName.equals("key") ) return reader.sfactory.key(this,tag); if( tag.localName.equals("keyref") ) return reader.sfactory.keyref(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // type declaration is allowed only when we haven't seen type definition. if( super.exp==null ) { if( tag.localName.equals("simpleType") ) return reader.sfactory.simpleType(this,tag); if( tag.localName.equals("complexType") ) return reader.sfactory.complexTypeDecl(this,tag); } // unique/key/keyref are ignored. if( tag.localName.equals("unique") ) return reader.sfactory.unique(this,tag); if( tag.localName.equals("key") ) return reader.sfactory.key(this,tag); if( tag.localName.equals("keyref") ) return reader.sfactory.keyref(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if(tag.localName.equals("include")) return reader.sfactory.include(this,tag); if(tag.localName.equals("import")) return reader.sfactory.import_(this,tag); if(tag.localName.equals("redefine")) return reader.sfactory.redefine(this,tag); if(tag.localName.equals("simpleType")) return reader.sfactory.simpleType(this,tag); if(tag.localName.equals("complexType")) return reader.sfactory.complexTypeDecl(this,tag); if(tag.localName.equals("group")) return reader.sfactory.group(this,tag); if(tag.localName.equals("attributeGroup")) return reader.sfactory.attributeGroup(this,tag); if(tag.localName.equals("element")) return reader.sfactory.elementDecl(this,tag); if(tag.localName.equals("attribute")) return reader.sfactory.attribute(this,tag); if(tag.localName.equals("notation")) return reader.sfactory.notation(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if(tag.localName.equals("include")) return reader.sfactory.include(this,tag); if(tag.localName.equals("import")) return reader.sfactory.import_(this,tag); if(tag.localName.equals("redefine")) return reader.sfactory.redefine(this,tag); if(tag.localName.equals("simpleType")) return reader.sfactory.simpleType(this,tag); if(tag.localName.equals("complexType")) return reader.sfactory.complexTypeDecl(this,tag); if(tag.localName.equals("group")) return reader.sfactory.group(this,tag); if(tag.localName.equals("attributeGroup")) return reader.sfactory.attributeGroup(this,tag); if(tag.localName.equals("element")) return reader.sfactory.elementDecl(this,tag); if(tag.localName.equals("attribute")) return reader.sfactory.attribute(this,tag); if(tag.localName.equals("notation")) return reader.sfactory.notation(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if(tag.localName.equals("include")) return reader.sfactory.include(this,tag); if(tag.localName.equals("import")) return reader.sfactory.import_(this,tag); if(tag.localName.equals("redefine")) return reader.sfactory.redefine(this,tag); if(tag.localName.equals("simpleType")) return reader.sfactory.simpleType(this,tag); if(tag.localName.equals("complexType")) return reader.sfactory.complexTypeDecl(this,tag); if(tag.localName.equals("group")) return reader.sfactory.group(this,tag); if(tag.localName.equals("attributeGroup")) return reader.sfactory.attributeGroup(this,tag); if(tag.localName.equals("element")) return reader.sfactory.elementDecl(this,tag); if(tag.localName.equals("attribute")) return reader.sfactory.attribute(this,tag); if(tag.localName.equals("notation")) return reader.sfactory.notation(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // type declaration is allowed only when we haven't seen type definition. if( super.exp==null ) { if( tag.localName.equals("simpleType") ) return reader.sfactory.simpleType(this,tag); if( tag.localName.equals("complexType") ) return reader.sfactory.complexTypeDecl(this,tag); } // unique/key/keyref are ignored. if( tag.localName.equals("unique") ) return reader.sfactory.unique(this,tag); if( tag.localName.equals("key") ) return reader.sfactory.key(this,tag); if( tag.localName.equals("keyref") ) return reader.sfactory.keyref(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if(tag.localName.equals("include")) return reader.sfactory.include(this,tag); if(tag.localName.equals("import")) return reader.sfactory.import_(this,tag); if(tag.localName.equals("redefine")) return reader.sfactory.redefine(this,tag); if(tag.localName.equals("simpleType")) return reader.sfactory.simpleType(this,tag); if(tag.localName.equals("complexType")) return reader.sfactory.complexTypeDecl(this,tag); if(tag.localName.equals("group")) return reader.sfactory.group(this,tag); if(tag.localName.equals("attributeGroup")) return reader.sfactory.attributeGroup(this,tag); if(tag.localName.equals("element")) return reader.sfactory.elementDecl(this,tag); if(tag.localName.equals("attribute")) return reader.sfactory.attribute(this,tag); if(tag.localName.equals("notation")) return reader.sfactory.notation(this,tag); return null; }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // type declaration is allowed only when we haven't seen type definition. if( super.exp==null ) { if( tag.localName.equals("simpleType") ) return reader.sfactory.simpleType(this,tag); if( tag.localName.equals("complexType") ) return reader.sfactory.complexTypeDecl(this,tag); } // unique/key/keyref are ignored. if( tag.localName.equals("unique") ) return reader.sfactory.unique(this,tag); if( tag.localName.equals("key") ) return reader.sfactory.key(this,tag); if( tag.localName.equals("keyref") ) return reader.sfactory.keyref(this,tag); return null; }