Exemple #1
0
            public bool ParseContent;                       // whether text content is allowed  

            public XsdEntry(SchemaNames.Token n, 
                            State   state, 
                            State[] nextStates, 
                            XsdAttributeEntry[] attributes, 
                            XsdInitFunction init, 
                            XsdEndChildFunction end, 
                            bool parseContent) {
                Name = n;
                CurrentState = state;
                NextStates = nextStates;
                Attributes = attributes;
                InitFunc = init;
                EndChildFunc = end;
                ParseContent = parseContent; 
            }
Exemple #2
0
            internal bool _AllowText;          // whether text content is allowed  

            internal XdrEntry(SchemaNames.Token n,
                              int[] states,
                              XdrAttributeEntry[] attributes,
                              XdrInitFunction init,
                              XdrBeginChildFunction begin,
                              XdrEndChildFunction end,
                              bool fText)
            {
                _Name = n;
                _NextStates = states;
                _Attributes = attributes;
                _InitFunc = init;
                _BeginChildFunc = begin;
                _EndChildFunc = end;
                _AllowText = fText;
            }
Exemple #3
0
            public XsdBuildFunction BuildFunc;  // Corresponding build functions for attribute value

            public XsdAttributeEntry(SchemaNames.Token a, XsdBuildFunction build) {
                Attribute = a;
                BuildFunc = build;
            }
Exemple #4
0
 internal XdrAttributeEntry(SchemaNames.Token a, XmlTokenizedType ttype, int schemaFlags, XdrBuildFunction build)
 {
     _Attribute = a;
     _Datatype = XmlSchemaDatatype.FromXmlTokenizedType(ttype);
     _SchemaFlags = schemaFlags;
     _BuildFunc = build;
 }
Exemple #5
0
 public XmlQualifiedName GetName(SchemaNames.Token token)
 {
     return(TokenToQName[(int)token]);
 }
 internal XdrAttributeEntry(SchemaNames.Token a, XmlTokenizedType ttype, XdrBuilder.XdrBuildFunction build)
 {
     this._Attribute = a;
     this._Datatype = XmlSchemaDatatype.FromXmlTokenizedType(ttype);
     this._SchemaFlags = 0;
     this._BuildFunc = build;
 }
 public XsdEntry(SchemaNames.Token n, XsdBuilder.State state, XsdBuilder.State[] nextStates, XsdBuilder.XsdAttributeEntry[] attributes, XsdBuilder.XsdInitFunction init, XsdBuilder.XsdEndChildFunction end, bool parseContent)
 {
     this.Name = n;
     this.CurrentState = state;
     this.NextStates = nextStates;
     this.Attributes = attributes;
     this.InitFunc = init;
     this.EndChildFunc = end;
     this.ParseContent = parseContent;
 }
 public XsdAttributeEntry(SchemaNames.Token a, XsdBuilder.XsdBuildFunction build)
 {
     this.Attribute = a;
     this.BuildFunc = build;
 }