Microsoft HomeProductsSearchSupportShopWrite Usspacer.gif Microsoft Home
Microsoft Packages
 
 

Packages   XML PackagesNext
Package com.ms.xml.util   XML
Packages
Next

 


About com.ms.xml.util

This package contains several general purpose classes that are used by the XML Parser and Object Model.

Atom and Name
The Atom and Name classes since these are used for all Name tokens in the XML document.

Tokenization means storing the strings in a hash table so that the same tag names that are used over and over can be shared. This greatly reduces memory usage and subsequently increases the performance of the parser.

The Name object is also a convenient place holder for new functionality like Namespaces. See Namespaces Specification for details.

Attribute
This class encapsulates a simple Name/Value pair which is used for XML Attributes. The Name is a true Name object and the Value can be a String, Name, or Vector of Names.

XMLInputStream and XMLOutputStream
The XMLInputStream performs auto-encoding detection as described in the XML Language Specification - including big and little endian unicode support. It also provides a setEncoding method that is used by the parser when the XML ENCODING attribute is encountered.

The XMLOutputStream is the complement of this providing support for writing out in the same format as found by the XMLInputStream.

Back To Top © 1997 Microsoft Corporation. All rights reserved. Terms of use.