protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // TODO: group reference is prohibited under group element. return reader.createModelGroupState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // TODO: group reference is prohibited under group element. return reader.createModelGroupState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // TODO: group reference is prohibited under group element. return reader.createModelGroupState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // TODO: group reference is prohibited under group element. return reader.createModelGroupState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; State s; if( super.exp==Expression.epsilon ) { // model group must be the first expression child. s = reader.createModelGroupState(this,tag); if(s!=null ) return s; } // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; State s; if( super.exp==Expression.epsilon ) { // model group must be the first expression child. s = reader.createModelGroupState(this,tag); if(s!=null ) return s; } // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; State s; if( super.exp==Expression.epsilon ) { // model group must be the first expression child. s = reader.createModelGroupState(this,tag); if(s!=null ) return s; } // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; State s; if( super.exp==Expression.epsilon ) { // model group must be the first expression child. s = reader.createModelGroupState(this,tag); if(s!=null ) return s; } // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
public State createExpressionChildState( State parent, StartTagInfo tag ) { if(tag.localName.equals("element")) { if(tag.containsAttribute("ref")) return sfactory.elementRef(parent,tag); else return sfactory.elementDecl(parent,tag); } if(tag.localName.equals("any")) return sfactory.any(parent,tag); return createModelGroupState(parent,tag); }
public State createExpressionChildState( State parent, StartTagInfo tag ) { if(tag.localName.equals("element")) { if(tag.containsAttribute("ref")) return sfactory.elementRef(parent,tag); else return sfactory.elementDecl(parent,tag); } if(tag.localName.equals("any")) return sfactory.any(parent,tag); return createModelGroupState(parent,tag); }
public State createExpressionChildState( State parent, StartTagInfo tag ) { if(tag.localName.equals("element")) { if(tag.containsAttribute("ref")) return sfactory.elementRef(parent,tag); else return sfactory.elementDecl(parent,tag); } if(tag.localName.equals("any")) return sfactory.any(parent,tag); return createModelGroupState(parent,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // simpleContent, ComplexContent, group, all, choice, and sequence // are allowed only when we haven't seen type definition. if(tag.localName.equals("simpleContent") ) return reader.sfactory.simpleContent(this,tag,decl); if(tag.localName.equals("complexContent") ) return reader.sfactory.complexContent(this,tag,decl); State s = reader.createModelGroupState(this,tag); if(s!=null) return s; if( super.exp==null ) { // no content model was given. // I couldn't "decipher" what should we do in this case. // I assume "empty" just because it's most likely. exp = Expression.epsilon; } // TODO: attributes are prohibited after simpleContent/complexContent. // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
public State createExpressionChildState( State parent, StartTagInfo tag ) { if(tag.localName.equals("element")) { if(tag.containsAttribute("ref")) return sfactory.elementRef(parent,tag); else return sfactory.elementDecl(parent,tag); } if(tag.localName.equals("any")) return sfactory.any(parent,tag); return createModelGroupState(parent,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // simpleContent, ComplexContent, group, all, choice, and sequence // are allowed only when we haven't seen type definition. if(tag.localName.equals("simpleContent") ) return reader.sfactory.simpleContent(this,tag,decl); if(tag.localName.equals("complexContent") ) return reader.sfactory.complexContent(this,tag,decl); State s = reader.createModelGroupState(this,tag); if(s!=null) return s; if( super.exp==null ) { // no content model was given. // I couldn't "decipher" what should we do in this case. // I assume "empty" just because it's most likely. exp = Expression.epsilon; } // TODO: attributes are prohibited after simpleContent/complexContent. // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // simpleContent, ComplexContent, group, all, choice, and sequence // are allowed only when we haven't seen type definition. if(tag.localName.equals("simpleContent") ) return reader.sfactory.simpleContent(this,tag,decl); if(tag.localName.equals("complexContent") ) return reader.sfactory.complexContent(this,tag,decl); State s = reader.createModelGroupState(this,tag); if(s!=null) return s; if( super.exp==null ) { // no content model was given. // I couldn't "decipher" what should we do in this case. // I assume "empty" just because it's most likely. exp = Expression.epsilon; } // TODO: attributes are prohibited after simpleContent/complexContent. // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }
protected State createChildState( StartTagInfo tag ) { final XMLSchemaReader reader = (XMLSchemaReader)this.reader; // simpleContent, ComplexContent, group, all, choice, and sequence // are allowed only when we haven't seen type definition. if(tag.localName.equals("simpleContent") ) return reader.sfactory.simpleContent(this,tag,decl); if(tag.localName.equals("complexContent") ) return reader.sfactory.complexContent(this,tag,decl); State s = reader.createModelGroupState(this,tag); if(s!=null) return s; if( super.exp==null ) { // no content model was given. // I couldn't "decipher" what should we do in this case. // I assume "empty" just because it's most likely. exp = Expression.epsilon; } // TODO: attributes are prohibited after simpleContent/complexContent. // attribute, attributeGroup, and anyAttribtue can be specified // after content model is given. return reader.createAttributeState(this,tag); }