Methods in this class are used to determine whether characters may appear in certain roles in XML documents.