|
XML for Java 2.0.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.xml.framework.XMLParser | +--com.ibm.xml.parsers.SAXParser
Non-validating SAX Parser.
Field Summary | |
protected boolean |
fRootElement
|
Fields inherited from class com.ibm.xml.framework.XMLParser |
fLocale,
fNeedReset,
fParseInProgress,
fResourceBundle,
fScanner |
Constructor Summary | |
SAXParser()
Default constructor. |
Method Summary | |
void |
attlistDecl(int elementIndex,
int attDefIndex)
Attlist decl. |
void |
characters(char[] ch,
int start,
int length,
boolean cdataSection)
Characters. |
void |
characters(int dataIndex,
boolean cdataSection)
Not called. |
void |
comment(int dataIndex)
Comment. |
void |
doctypeDecl(int rootElementNameIndex)
This function will be called when a <!DOCTYPE...> declaration is encountered. |
void |
elementDecl(int elementIndex)
Element decl. |
void |
endDocument()
End document. |
void |
endElement(int elementNameIndex)
End element. |
void |
endEntityReference(int entityIndex)
End entity reference. |
void |
endExternalSubset()
This function will be called at the end of the "external subset" of a doctype declaration. |
void |
endInternalSubset()
This function will be called at the end of the "internal subset" of a doctype declaration. |
void |
externalEntityDecl(int entityIndex)
External entity decl. |
void |
ignorableWhitespace(char[] ch,
int start,
int length,
boolean cdataSection)
Ignorable whitespace. |
void |
ignorableWhitespace(int dataIndex,
boolean cdataSection)
Not called. |
void |
internalEntityDecl(int entityIndex)
Internal entity decl. |
void |
notationDecl(int notationIndex)
Notation decl. |
void |
parameterEntityDecl(int entityIndex)
|
void |
parse(InputSource source)
Parses the specified input source. |
void |
processingInstruction(int targetIndex,
int dataIndex)
Processing instruction. |
boolean |
sendCharDataAsCharArray()
Send char data as array. |
void |
setDocumentHandler(DocumentHandler handler)
Sets the document handler. |
void |
setDTDHandler(DTDHandler handler)
Sets the DTD handler. |
void |
setEntityResolver(EntityResolver resolver)
Sets the entity resolver. |
void |
startDocument(int versionIndex,
int encodingIndex,
int standAloneIndex)
Start document. |
void |
startElement(int elementNameIndex,
int attrListIndex)
Start element |
void |
startEntityReference(int entityIndex)
Start entity reference. |
void |
startExternalSubset(int publicIdStringIndex,
int systemIdStringIndex)
This function will be called at the start of the "external subset" of a doctype declaration. |
void |
startInternalSubset()
This function will be called at the start of the "internal subset" of a doctype declaration. |
void |
unparsedEntityDecl(int entityIndex)
Unparsed entity decl. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected boolean fRootElement
Constructor Detail |
public SAXParser()
Method Detail |
public void setEntityResolver(EntityResolver resolver)
public void setDTDHandler(DTDHandler handler)
public void setDocumentHandler(DocumentHandler handler)
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
source
- The input source.
|
XML for Java 2.0.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |