public abstract class XMLParserBase<R extends Element> extends XMLDTDBaseGrammar
XMLBaseGrammar.ContextBUFFERSIZE, Char, external, generalReferences, input, inputReader, locator, NameChar, NameStartChar, NCNameChar, NCNameStartChar, parameterReferences, PubidChar, PubidCharMinusApostrophe, RestrictedChar, S| Constructor and Description |
|---|
XMLParserBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
document(Element element,
Document document)
[1] document ::= ( prolog element Misc* ) - ( Char* RestrictedChar Char* )
|
protected abstract Document |
parse(InputStream in,
Document document) |
Document |
parse(InputStream in,
String officialSystemID) |
conditionalSect, doctypedecl, doctypedeclContent, doctypedeclEnd, doctypedeclStart, extParsedEntity, extSubset, extSubsetDecl, ignore, ignoreEnd, ignoreSect, ignoreSectContents, ignoreStart, includeSect, intSubset, markupdecl, prolog, textDeclaposAttValue, aposAttValue, aposAttValueStart, aposAttValueSub, aposEntityValue, aposEntityValue, aposEntityValueStart, aposEntityValueSub, attValue, byteOrderMark, cdSect, charData, charRef, charRefDecimal, charRefHex, comment, digit, document, emptyQuote, encName, encodingDecl, entityDecl, entityDef, entityDef, entityRef, entityValue, eol, eq, eTagName, externalID, externalID, geDecl, getEncoding, getPublicId, getSystemId, getXmlVersion, hex, misc, name, names, names, nDataDecl, nmtoken, nmtokens, nmtokens, notApos, notAposValue, notationDecl, notationDecl, notQuot, notQuotValue, nsAttName, optExternalID, optExternalID, parseAposAttValue, parseAposEntityValue, parseDocument, parseExtSubset, parseQuotAttValue, parseQuotEntityValue, peDecl, peDef, peDef, peReference, pi, pubidLiteral, pubidLiteralMinusApostrophe, pubidLiteralWithApostrophe, publicID, qName, quotAttValue, quotAttValue, quotAttValueStart, quotAttValueSub, quotEntityValue, quotEntityValue, quotEntityValueStart, quotEntityValueSub, reference, s, sdDecl, setExternal, setPublicId, setSystemId, setXmlVersion, singleApostrophe, singleQuot, sTagName, systemLiteral, utf16BE, utf16BEPrefix, utf16LE, utf16LEPrefix, utf32BE, utf32BEPrefix, utf32LE, utf32LEPrefix, utf8, utf8Prefix, version, versionInfo, versionNum, xmlDecl, xmlPrefix, yesNopublic Document parse(InputStream in, String officialSystemID) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
protected abstract Document parse(InputStream in, Document document) throws IOException
in - document - IOExceptionprotected void document(Element element, Document document) throws SAXException
SAXExceptionCopyright © 2014. All rights reserved.