protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if( super.exp!=null ) // we have already parsed restriction/extension. return null; if( tag.localName.equals("restriction") ) return reader.sfactory.complexRst(this,tag,parentDecl); if( tag.localName.equals("extension") ) return reader.sfactory.complexExt(this,tag,parentDecl); return super.createChildState(tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if( super.exp!=null ) // we have already parsed restriction/extension. return null; if( tag.localName.equals("restriction") ) return reader.sfactory.complexRst(this,tag,parentDecl); if( tag.localName.equals("extension") ) return reader.sfactory.complexExt(this,tag,parentDecl); return super.createChildState(tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if( super.exp!=null ) // we have already parsed restriction/extension. return null; if( tag.localName.equals("restriction") ) return reader.sfactory.complexRst(this,tag,parentDecl); if( tag.localName.equals("extension") ) return reader.sfactory.complexExt(this,tag,parentDecl); return super.createChildState(tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; if( super.exp!=null ) // we have already parsed restriction/extension. return null; if( tag.localName.equals("restriction") ) return reader.sfactory.complexRst(this,tag,parentDecl); if( tag.localName.equals("extension") ) return reader.sfactory.complexExt(this,tag,parentDecl); return super.createChildState(tag); }