org.enhydra.apache.xerces.readers
Class UTF8Recognizer
java.lang.Object
|
+--org.enhydra.apache.xerces.readers.XMLDeclRecognizer
|
+--org.enhydra.apache.xerces.readers.UTF8Recognizer
- final class UTF8Recognizer
- extends XMLDeclRecognizer
- Version:
-
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTF8Recognizer
UTF8Recognizer()
recognize
public XMLEntityHandler.EntityReader recognize(XMLEntityReaderFactory readerFactory,
XMLEntityHandler entityHandler,
XMLErrorReporter errorReporter,
boolean sendCharDataAsCharArray,
StringPool stringPool,
ChunkyByteArray data,
boolean xmlDecl,
boolean allowJavaEncodingName)
throws Exception
- Description copied from class:
XMLDeclRecognizer
- Subclasses override this method to support recognizing their encodings.
- Overrides:
recognize
in class XMLDeclRecognizer
- Following copied from class:
org.enhydra.apache.xerces.readers.XMLDeclRecognizer
- Parameters:
readerFactory
- the factory object to use when constructing the entity reader.entityHandler
- the entity handler to get entity readers fromerrorReporter
- where to report errorssendCharDataAsCharArray
- true if the reader should use char arrays, not string handles.stringPool
- the StringPool
to put strings indata
- initial bytes to perform recognition onxmlDecl
- true if attempting to recognize fron an XMLDecl, false if trying to recognize from a TextDecl.allowJavaEncodingName
- true if Java's encoding names are allowed, false if they are not.- Returns:
- The reader that will be used to process the contents of the data stream.
- Throws:
Exception
-
Copyright © 1999 The Apache Software Foundation. All Rights reserved.