| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- using System;
- using System.Xml;
- using System.Xml.Serialization;
- using System.Collections;
- namespace System.Xml.Schema
- {
- /// <summary>
- /// Summary description for XmlSchemaExternal.
- /// </summary>
- public abstract class XmlSchemaExternal : XmlSchemaObject
- {
- private string id;
- private XmlSchema schema;
- private string location;
- private XmlAttribute[] unhandledAttributes;
- protected XmlSchemaExternal()
- {}
-
- [System.Xml.Serialization.XmlAttribute("schemaLocation")]
- public string SchemaLocation
- {
- get{ return location; }
- set{ location = value; }
- }
- [XmlIgnore]
- public XmlSchema Schema
- {
- get{ return schema; }
- set{ schema = value; }
- }
- [System.Xml.Serialization.XmlAttribute("id")]
- public string Id
- {
- get{ return id; }
- set{ id = value; }
- }
- [XmlAnyAttribute]
- public XmlAttribute[] UnhandledAttributes
- {
- get
- {
- if(unhandledAttributeList != null)
- {
- unhandledAttributes = (XmlAttribute[]) unhandledAttributeList.ToArray(typeof(XmlAttribute));
- unhandledAttributeList = null;
- }
- return unhandledAttributes;
- }
- set
- {
- unhandledAttributes = value;
- unhandledAttributeList = null;
- }
- }
- }
- }
|