|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.readers.DefaultReaderFactory
Constructor Summary | |
DefaultReaderFactory()
Constructor |
Method Summary | |
void |
addRecognizer(XMLDeclRecognizer recognizer)
Adds a recognizer. |
XMLEntityHandler.EntityReader |
createCharReader(XMLEntityHandler entityHandler,
XMLErrorReporter errorReporter,
boolean sendCharDataAsCharArray,
java.io.Reader reader,
StringPool stringPool)
Create an entity reader for a character stream. |
XMLEntityHandler.EntityReader |
createReader(XMLEntityHandler entityHandler,
XMLErrorReporter errorReporter,
org.xml.sax.InputSource source,
java.lang.String systemId,
boolean xmlDecl,
StringPool stringPool)
Create a reader |
XMLEntityHandler.EntityReader |
createStringReader(XMLEntityHandler entityHandler,
XMLErrorReporter errorReporter,
boolean sendCharDataAsCharArray,
int lineNumber,
int columnNumber,
int stringHandle,
StringPool stringPool,
boolean addEnclosingSpaces)
Create an entity reader for data from a String. |
XMLEntityHandler.EntityReader |
createUTF8Reader(XMLEntityHandler entityHandler,
XMLErrorReporter errorReporter,
boolean sendCharDataAsCharArray,
java.io.InputStream data,
StringPool stringPool)
Create an entity reader for a byte stream encoded in UTF-8. |
boolean |
getAllowJavaEncodingName()
|
void |
setAllowJavaEncodingName(boolean flag)
|
void |
setSendCharDataAsCharArray(boolean flag)
Set char data processing preference. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DefaultReaderFactory()
Method Detail |
public void addRecognizer(XMLDeclRecognizer recognizer)
recognizer
- The XML recognizer to add.public void setSendCharDataAsCharArray(boolean flag)
public void setAllowJavaEncodingName(boolean flag)
public boolean getAllowJavaEncodingName()
public XMLEntityHandler.EntityReader createReader(XMLEntityHandler entityHandler, XMLErrorReporter errorReporter, org.xml.sax.InputSource source, java.lang.String systemId, boolean xmlDecl, StringPool stringPool) throws java.lang.Exception
public XMLEntityHandler.EntityReader createCharReader(XMLEntityHandler entityHandler, XMLErrorReporter errorReporter, boolean sendCharDataAsCharArray, java.io.Reader reader, StringPool stringPool) throws java.lang.Exception
enityHandler
- The entity handler.errorReporter
- The error reporter.sendCharDataAsCharArray
- true if char data should be reported using
char arrays instead of string handles.reader
- The character stream.stringPool
- The string pool.public XMLEntityHandler.EntityReader createUTF8Reader(XMLEntityHandler entityHandler, XMLErrorReporter errorReporter, boolean sendCharDataAsCharArray, java.io.InputStream data, StringPool stringPool) throws java.lang.Exception
enityHandler
- The entity handler.errorReporter
- The error reporter.sendCharDataAsCharArray
- true if char data should be reported using
char arrays instead of string handles.data
- The byte stream.stringPool
- The string pool.public XMLEntityHandler.EntityReader createStringReader(XMLEntityHandler entityHandler, XMLErrorReporter errorReporter, boolean sendCharDataAsCharArray, int lineNumber, int columnNumber, int stringHandle, StringPool stringPool, boolean addEnclosingSpaces) throws java.lang.Exception
entityHandler
- The current entity handler.errorReporter
- The current error reporter.sendCharDataAsCharArray
- true if char data should be reported using
char arrays instead of string handles.lineNumber
- The line number to return as our position.columnNumber
- The column number to return as our position.stringHandle
- The StringPool handle for the data to process.stringPool
- The string pool.addEnclosingSpaces
- If true, treat the data to process as if
there were a leading and trailing space
character enclosing the string data.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |