|
Xerces 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.xml.parsers.SAXParser
Non-validating SAX Parser. SAXParser exists to provide backwards compatibility with XML4J V2.0
Field Summary | |
protected SAXParser |
fParser
Deprecated. |
Constructor Summary | |
SAXParser()
Deprecated. Default constructor. |
Method Summary | |
void |
attlistDecl(int elementIndex,
int attDefIndex)
Deprecated. Attlist decl. |
void |
characters(char[] ch,
int start,
int length,
boolean cdataSection)
Deprecated. Characters. |
void |
characters(int dataIndex,
boolean cdataSection)
Deprecated. Not called. |
void |
comment(int dataIndex)
Deprecated. Comment. |
void |
doctypeDecl(int rootElementNameIndex)
Deprecated. This function will be called when a <!DOCTYPE...> declaration is encountered. |
void |
elementDecl(int elementIndex)
Deprecated. Element decl. |
void |
endDocument()
Deprecated. End document. |
void |
endElement(int elementNameIndex)
Deprecated. End element. |
void |
endEntityReference(int entityIndex)
Deprecated. End entity reference. |
void |
endExternalSubset()
Deprecated. This function will be called at the end of the "external subset" of a doctype declaration. |
void |
endInternalSubset()
Deprecated. This function will be called at the end of the "internal subset" of a doctype declaration. |
void |
externalEntityDecl(int entityIndex)
Deprecated. External entity decl. |
boolean |
getAllowJavaEncodingName()
Deprecated. |
boolean |
getCheckNamespace()
Deprecated. |
boolean |
getContinueAfterFatalError()
Deprecated. |
protected Locator |
getLocator()
Deprecated. Return the Locator object. |
boolean |
getWarningOnDuplicateAttDef()
Deprecated. |
void |
ignorableWhitespace(char[] ch,
int start,
int length,
boolean cdataSection)
Deprecated. Ignorable whitespace. |
void |
ignorableWhitespace(int dataIndex,
boolean cdataSection)
Deprecated. Not called. |
void |
internalEntityDecl(int entityIndex)
Deprecated. Internal entity decl. |
void |
notationDecl(int notationIndex)
Deprecated. Notation decl. |
void |
parameterEntityDecl(int entityIndex)
Deprecated. |
void |
parse(InputSource source)
Deprecated. Parses the specified input source. |
void |
parse(java.lang.String systemId)
Deprecated. Parses the input source specified by the given system identifier. |
void |
processingInstruction(int targetIndex,
int dataIndex)
Deprecated. Processing instruction. |
void |
reset()
Deprecated. |
boolean |
sendCharDataAsCharArray()
Deprecated. Send char data as array. |
void |
setAllowJavaEncodingName(boolean flag)
Deprecated. |
void |
setCheckNamespace(boolean flag)
Deprecated. |
void |
setContinueAfterFatalError(boolean flag)
Deprecated. |
void |
setDocumentHandler(DocumentHandler handler)
Deprecated. Sets the document handler. |
void |
setDTDHandler(DTDHandler handler)
Deprecated. Sets the DTD handler. |
void |
setEntityResolver(EntityResolver resolver)
Deprecated. Sets the entity resolver. |
void |
setErrorHandler(ErrorHandler handler)
Deprecated. Sets the error handler |
void |
setLocale(java.util.Locale locale)
Deprecated. Sets the locale |
void |
setWarningOnDuplicateAttDef(boolean flag)
Deprecated. |
void |
startDocument(int versionIndex,
int encodingIndex,
int standAloneIndex)
Deprecated. Start document. |
void |
startElement(int elementNameIndex,
int attrListIndex)
Deprecated. Start element |
void |
startEntityReference(int entityIndex)
Deprecated. Start entity reference. |
void |
startExternalSubset(int publicIdStringIndex,
int systemIdStringIndex)
Deprecated. This function will be called at the start of the "external subset" of a doctype declaration. |
void |
startInternalSubset()
Deprecated. This function will be called at the start of the "internal subset" of a doctype declaration. |
void |
unparsedEntityDecl(int entityIndex)
Deprecated. Unparsed entity decl. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SAXParser fParser
Constructor Detail |
public SAXParser()
Method Detail |
public void setEntityResolver(EntityResolver resolver)
setEntityResolver
in interface Parser
org.xml.sax.Parser
resolver
- The object for resolving entities.EntityResolver
,
HandlerBase
public void setDTDHandler(DTDHandler handler)
setDTDHandler
in interface Parser
org.xml.sax.Parser
handler
- The DTD handler.DTDHandler
,
HandlerBase
public void setDocumentHandler(DocumentHandler handler)
setDocumentHandler
in interface Parser
org.xml.sax.Parser
handler
- The document handler.DocumentHandler
,
HandlerBase
public void setErrorHandler(ErrorHandler handler)
setErrorHandler
in interface Parser
org.xml.sax.Parser
handler
- The error handler.ErrorHandler
,
SAXException
,
HandlerBase
public void setLocale(java.util.Locale locale) throws SAXException
setLocale
in interface Parser
org.xml.sax.Parser
locale
- A Java Locale object.SAXException
- Throws an exception
(using the previous or default locale) if the
requested locale is not supported.SAXException
,
SAXParseException
public void doctypeDecl(int rootElementNameIndex) throws java.lang.Exception
public void startInternalSubset() throws java.lang.Exception
public void endInternalSubset() throws java.lang.Exception
public void startExternalSubset(int publicIdStringIndex, int systemIdStringIndex) throws java.lang.Exception
public void endExternalSubset() throws java.lang.Exception
public void elementDecl(int elementIndex) throws java.lang.Exception
public void attlistDecl(int elementIndex, int attDefIndex) throws java.lang.Exception
public void internalEntityDecl(int entityIndex) throws java.lang.Exception
public void externalEntityDecl(int entityIndex) throws java.lang.Exception
public void unparsedEntityDecl(int entityIndex) throws java.lang.Exception
public void parameterEntityDecl(int entityIndex)
public void notationDecl(int notationIndex) throws java.lang.Exception
public boolean sendCharDataAsCharArray()
public void startDocument(int versionIndex, int encodingIndex, int standAloneIndex) throws java.lang.Exception
public void endDocument() throws java.lang.Exception
public void startElement(int elementNameIndex, int attrListIndex) throws java.lang.Exception
public void endElement(int elementNameIndex) throws java.lang.Exception
public void startEntityReference(int entityIndex) throws java.lang.Exception
public void endEntityReference(int entityIndex) throws java.lang.Exception
public void characters(int dataIndex, boolean cdataSection) throws java.lang.Exception
public void ignorableWhitespace(int dataIndex, boolean cdataSection) throws java.lang.Exception
public void processingInstruction(int targetIndex, int dataIndex) throws java.lang.Exception
public void comment(int dataIndex) throws java.lang.Exception
public void characters(char[] ch, int start, int length, boolean cdataSection) throws java.lang.Exception
public void ignorableWhitespace(char[] ch, int start, int length, boolean cdataSection) throws java.lang.Exception
public void parse(InputSource source) throws SAXException, java.io.IOException
parse
in interface Parser
source
- The input source.SAXException
- Throws exception on SAX error.java.io.IOException
- Throws exception on i/o error.public void parse(java.lang.String systemId) throws SAXException, java.io.IOException
This method is equivalent to the following:
parse(new InputSource(systemId));
parse
in interface Parser
source
- The input source.SAXException
- Throws exception on SAX error.java.io.IOException
- Throws exception on i/o error.public void reset() throws java.lang.Exception
protected Locator getLocator()
Locator
object.public void setAllowJavaEncodingName(boolean flag)
public boolean getAllowJavaEncodingName()
public void setWarningOnDuplicateAttDef(boolean flag)
public boolean getWarningOnDuplicateAttDef()
public void setCheckNamespace(boolean flag)
public boolean getCheckNamespace()
public void setContinueAfterFatalError(boolean flag)
public boolean getContinueAfterFatalError()
|
Xerces 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |