Class XmlNameTable
- java.lang.Object
-
- microsoft.exchange.webservices.data.security.XmlNameTable
-
public abstract class XmlNameTable extends Object
Table of atomized String objects.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedXmlNameTable()Initializes a new instance of the XmlNameTable class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringAdd(char[] array, int offset, int length)Reads an XML Schema from the supplied stream.abstract StringAdd(String array)When overridden in a derived class, atomizes the specified String and adds it to the XmlNameTable.abstract StringGet(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 StringGet(String array)When overridden in a derived class, gets the atomized String containing the same value as the specified String.
-
-
-
Constructor Detail
-
XmlNameTable
protected XmlNameTable()
Initializes a new instance of the XmlNameTable class.
-
-
Method Detail
-
Add
public abstract String Add(String array)
When overridden in a derived class, atomizes the specified String and adds it to the XmlNameTable.- Parameters:
array- : The name to add.- Returns:
- The new atomized String or the existing one if it already exists.
- Throws:
ArgumentNullException- array is null.
-
Add
public abstract String Add(char[] array, int offset, int length)
Reads an XML Schema from the supplied stream.- Parameters:
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.- Returns:
- The new atomized String or the existing one if it already exists. If length is zero, String.Empty is returned
-
Get
public abstract String Get(String array)
When overridden in a derived class, gets the atomized String containing the same value as the specified String.- Parameters:
array- The name to look up.- Returns:
- The atomized String or null if the String has not already been atomized.
- Throws:
ArgumentNullException- : array is null.
-
Get
public 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.- Parameters:
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.- Returns:
- The atomized String or null if the String has not already been atomized. If length is zero, String.Empty is returned
-
-