com.ibm.xml.parsers
Class NonValidatingParser
java.lang.Object
|
+--com.ibm.xml.framework.XMLParser
|
+--com.ibm.xml.parsers.NonValidatingParser
- Direct Known Subclasses:
- ValidatingParser
- public class NonValidatingParser
- extends XMLParser
- Version:
- Revision: 64 1.10 src/com/ibm/xml/parsers/NonValidatingParser.java, parser, xml4j2, xml4j2_0_15
Method Summary |
void |
attlistDecl(int elementIndex,
int attDefIndex)
|
void |
characters(char[] ch,
int start,
int length,
boolean cdataSection)
Not called. |
void |
characters(int dataIndex,
boolean cdataSection)
|
void |
comment(int dataIndex)
|
void |
doctypeDecl(int rootElementNameIndex)
This function will be called when a <!DOCTYPE...> declaration is
encountered. |
void |
elementDecl(int elementIndex)
|
void |
endDocument()
|
void |
endElement(int elementNameIndex)
|
void |
endEntityReference(int entityIndex)
|
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)
|
void |
ignorableWhitespace(char[] ch,
int start,
int length,
boolean cdataSection)
Not called. |
void |
ignorableWhitespace(int dataIndex,
boolean cdataSection)
|
void |
internalEntityDecl(int entityIndex)
|
void |
notationDecl(int notationIndex)
|
void |
parameterEntityDecl(int entityIndex)
REVISIT: Workaround for TX: getParameterEntityEnumeration |
void |
processingInstruction(int targetIndex,
int dataIndex)
|
void |
startDocument(int versionIndex,
int encodingIndex,
int standAloneIndex)
|
void |
startElement(int elementNameIndex,
int attrListIndex)
|
void |
startEntityReference(int entityIndex)
|
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)
|
Methods inherited from class com.ibm.xml.framework.XMLParser |
checkHandlers,
error,
error1,
error2,
error3,
error4,
errorHandlingEnabled,
getAllowJavaEncodingName,
getCheckNamespace,
getContinueAfterFatalError,
getDocumentHandler,
getDocumentTypeHandler,
getEntityHandler,
getErrorHandler,
getErrorMsgString,
getLocator,
getParserState,
getScanner,
getValidationHandler,
getWarningOnDuplicateAttDef,
handleError,
isFatal,
isWarning,
loadCatalog,
parse,
parse,
reset,
resetOrCopy,
sendCharDataAsCharArray,
setAllowJavaEncodingName,
setCheckNamespace,
setContinueAfterFatalError,
setDocumentHandler,
setDocumentHandler,
setDocumentTypeHandler,
setDTDHandler,
setEntityHandler,
setEntityResolver,
setErrorHandler,
setLocale,
setValidationHandler,
setWarningOnDuplicateAttDef,
useDefaultValidationHandler |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NonValidatingParser
public NonValidatingParser()
doctypeDecl
public void doctypeDecl(int rootElementNameIndex)
throws java.lang.Exception
- This function will be called when a <!DOCTYPE...> declaration is
encountered.
startInternalSubset
public void startInternalSubset()
throws java.lang.Exception
- This function will be called at the start of the "internal subset" of a
doctype declaration.
endInternalSubset
public void endInternalSubset()
throws java.lang.Exception
- This function will be called at the end of the "internal subset" of a
doctype declaration.
startExternalSubset
public void startExternalSubset(int publicIdStringIndex,
int systemIdStringIndex)
throws java.lang.Exception
- This function will be called at the start of the "external subset" of a
doctype declaration.
endExternalSubset
public void endExternalSubset()
throws java.lang.Exception
- This function will be called at the end of the "external subset" of a
doctype declaration.
elementDecl
public void elementDecl(int elementIndex)
throws java.lang.Exception
attlistDecl
public void attlistDecl(int elementIndex,
int attDefIndex)
throws java.lang.Exception
internalEntityDecl
public void internalEntityDecl(int entityIndex)
throws java.lang.Exception
externalEntityDecl
public void externalEntityDecl(int entityIndex)
throws java.lang.Exception
unparsedEntityDecl
public void unparsedEntityDecl(int entityIndex)
throws java.lang.Exception
parameterEntityDecl
public void parameterEntityDecl(int entityIndex)
throws java.lang.Exception
- REVISIT: Workaround for TX: getParameterEntityEnumeration
notationDecl
public void notationDecl(int notationIndex)
throws java.lang.Exception
startDocument
public void startDocument(int versionIndex,
int encodingIndex,
int standAloneIndex)
throws java.lang.Exception
endDocument
public void endDocument()
throws java.lang.Exception
startElement
public void startElement(int elementNameIndex,
int attrListIndex)
throws java.lang.Exception
endElement
public void endElement(int elementNameIndex)
throws java.lang.Exception
startEntityReference
public void startEntityReference(int entityIndex)
throws java.lang.Exception
endEntityReference
public void endEntityReference(int entityIndex)
throws java.lang.Exception
characters
public void characters(int dataIndex,
boolean cdataSection)
throws java.lang.Exception
ignorableWhitespace
public void ignorableWhitespace(int dataIndex,
boolean cdataSection)
throws java.lang.Exception
processingInstruction
public void processingInstruction(int targetIndex,
int dataIndex)
throws java.lang.Exception
comment
public void comment(int dataIndex)
throws java.lang.Exception
characters
public void characters(char[] ch,
int start,
int length,
boolean cdataSection)
throws java.lang.Exception
- Not called.
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length,
boolean cdataSection)
throws java.lang.Exception
- Not called.