public abstract class XmlNameTable extends Object
Modifier | Constructor and Description |
---|---|
protected |
XmlNameTable()
Initializes a new instance of the XmlNameTable class.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
Add(char[] array,
int offset,
int length)
Reads an XML Schema from the supplied stream.
|
abstract String |
Add(String array)
When overridden in a derived class, atomizes the specified String and
adds it to the XmlNameTable.
|
abstract String |
Get(char[] array,
int offset,
int length)
When overridden in a derived class, gets the atomized String containing
the same characters as the specified range of characters in the given
array.
|
abstract String |
Get(String array)
When overridden in a derived class, gets the atomized String containing
the same value as the specified String.
|
protected XmlNameTable()
public abstract String Add(String array)
array
- : The name to add.ArgumentNullException
- array is null.public abstract String Add(char[] array, int offset, int length)
array
- The character array containing the name to add.offset
- Zero-based index into the array specifying the first character
of the name.length
- The number of characters in the name.ArgumentOutOfRangeException
- 0 > offset -or- offset >= array.Length -or- length >
array.Length The above conditions do not cause an exception
to be thrown if length =0.ArgumentOutOfRangeException
- length < 0.public abstract String Get(String array)
array
- The name to look up.ArgumentNullException
- : array is null.public abstract String Get(char[] array, int offset, int length)
array
- The character array containing the name to add.offset
- Zero-based index into the array specifying the first character
of the name.length
- The number of characters in the name.ArgumentOutOfRangeException
- 0 > offset -or- offset >= array.Length -or- length >
array.Length The above conditions do not cause an exception
to be thrown if length =0.ArgumentOutOfRangeException
- length < 0.Copyright © 2012–2015 Microsoft. All rights reserved.