mscorlib(4.0.0.0) API with additions
XmlSchemaExternal.cs
2 
3 namespace System.Xml.Schema
4 {
6  public abstract class XmlSchemaExternal : XmlSchemaObject
7  {
8  private string location;
9 
10  private Uri baseUri;
11 
12  private XmlSchema schema;
13 
14  private string id;
15 
16  private XmlAttribute[] moreAttributes;
17 
18  private Compositor compositor;
19 
22  [XmlAttribute("schemaLocation", DataType = "anyURI")]
23  public string SchemaLocation
24  {
25  get
26  {
27  return location;
28  }
29  set
30  {
31  location = value;
32  }
33  }
34 
37  [XmlIgnore]
38  public XmlSchema Schema
39  {
40  get
41  {
42  return schema;
43  }
44  set
45  {
46  schema = value;
47  }
48  }
49 
52  [XmlAttribute("id", DataType = "ID")]
53  public string Id
54  {
55  get
56  {
57  return id;
58  }
59  set
60  {
61  id = value;
62  }
63  }
64 
67  [XmlAnyAttribute]
69  {
70  get
71  {
72  return moreAttributes;
73  }
74  set
75  {
76  moreAttributes = value;
77  }
78  }
79 
80  [XmlIgnore]
81  internal Uri BaseUri
82  {
83  get
84  {
85  return baseUri;
86  }
87  set
88  {
89  baseUri = value;
90  }
91  }
92 
93  [XmlIgnore]
94  internal override string IdAttribute
95  {
96  get
97  {
98  return Id;
99  }
100  set
101  {
102  Id = value;
103  }
104  }
105 
106  internal Compositor Compositor
107  {
108  get
109  {
110  return compositor;
111  }
112  set
113  {
114  compositor = value;
115  }
116  }
117 
118  internal override void SetUnhandledAttributes(XmlAttribute[] moreAttributes)
119  {
120  this.moreAttributes = moreAttributes;
121  }
122  }
123 }
string SchemaLocation
Gets or sets the Uniform Resource Identifier (URI) location for the schema, which tells the schema pr...
Definition: __Canon.cs:3
Represents the root class for the Xml schema object model hierarchy and serves as a base class for cl...
Represents an attribute. Valid and default values for the attribute are defined in a document type de...
Definition: XmlAttribute.cs:7
string Id
Gets or sets the string id.
XmlSchema Schema
Gets or sets the XmlSchema for the referenced schema.
An in-memory representation of an XML Schema, as specified in the World Wide Web Consortium (W3C) XML...
Definition: XmlSchema.cs:13
An abstract class. Provides information about the included schema.
XmlAttribute [] UnhandledAttributes
Gets and sets the qualified attributes, which do not belong to the schema target namespace.
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition: Uri.cs:19