public class MXParserNonValidating extends MXParserCachingStrings
CACHE_LOAD, CACHE_STATISTICS, cacheEntriesCount, cacheEntriesThreshold, cacheStatCalls, cacheStatRehash, cacheStatResets, cacheStatWalks, INITIAL_CAPACITY, keys, TRACE_SIZING, valuesallStringsInterned, attributeCount, attributeName, attributeNameHash, attributePrefix, attributeUri, attributeValue, buf, bufAbsoluteStart, bufEnd, bufLoadFactor, bufSoftLimit, bufStart, charRefOneCharBuf, columnNumber, depth, elName, elNamespaceCount, elPrefix, elRawName, elRawNameEnd, elRawNameLine, elUri, emptyElementTag, entityEnd, entityName, entityNameBuf, entityNameHash, entityRefName, entityReplacement, entityReplacementBuf, eventType, FEATURE_NAMES_INTERNED, FEATURE_XML_ROUNDTRIP, inputEncoding, inputStream, lineNumber, location, LOOKUP_MAX, LOOKUP_MAX_CHAR, lookupNameChar, lookupNameStartChar, namespaceEnd, namespacePrefix, namespacePrefixHash, namespaceUri, NCODING, NO, pastEndTag, pc, pcEnd, pcStart, pos, posEnd, posStart, preventBufferCompaction, processNamespaces, PROPERTY_LOCATION, PROPERTY_XMLDECL_CONTENT, PROPERTY_XMLDECL_STANDALONE, PROPERTY_XMLDECL_VERSION, reachedEnd, READ_CHUNK_SIZE, reader, roundtripSupported, seenAmpersand, seenDocdecl, seenEndTag, seenMarkup, seenRoot, seenStartTag, TANDALONE, text, tokenize, usePC, VERSION, XML_URI, xmlDeclContent, xmlDeclStandalone, xmlDeclVersion, XMLNS_URI, YESCDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES| Constructor and Description |
|---|
MXParserNonValidating() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String name)
Unknown properties are always returned as false
|
protected char[] |
lookuEntityReplacement(int entitNameLen) |
protected char |
more() |
protected void |
parseDocdecl() |
protected void |
processAttlistDecl(char ch) |
protected void |
processElementDecl(char ch) |
protected void |
processEntityDecl(char ch) |
protected char |
processExternalId(char ch) |
protected void |
processInternalSubset() |
protected void |
processMarkupDecl(char ch) |
protected void |
processNotationDecl(char ch) |
protected void |
processPEReference() |
protected char |
readName(char ch) |
void |
setFeature(String name,
boolean state)
This allows to change processing DOCDECL (controls if parser is non-validating).
|
clone, finalize, initStringCache, newString, newStringIntern, resetStringCachedefineEntityReplacementText, ensureAttributesCapacity, ensureElementsCapacity, ensureEntityCapacity, ensureNamespacesCapacity, ensurePC, fastHash, fillBuf, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isNameChar, isNameStartChar, isS, isWhitespace, joinPC, next, nextImpl, nextTag, nextText, nextToken, parseAttribute, parseCDSect, parseComment, parseEndTag, parseEntityRef, parseEpilog, parsePI, parseProlog, parseStartTag, parseXmlDecl, parseXmlDeclWithVersion, printable, printable, require, requireInput, requireNextS, reset, setInput, setInput, setProperty, skipS, skipSubTreepublic void setFeature(String name, boolean state) throws XmlPullParserException
setFeature in interface XmlPullParsersetFeature in class MXParserCachingStringsname - a Stringstate - a booleanXmlPullParserException - If the feature is not supported or can not be setpublic boolean getFeature(String name)
MXParsergetFeature in interface XmlPullParsergetFeature in class MXParserCachingStringsname - The name of feature to be retrieved.protected char more()
throws IOException,
XmlPullParserException
more in class MXParserIOExceptionXmlPullParserExceptionprotected char[] lookuEntityReplacement(int entitNameLen)
throws XmlPullParserException,
IOException
lookuEntityReplacement in class MXParserXmlPullParserExceptionIOExceptionprotected void parseDocdecl()
throws XmlPullParserException,
IOException
parseDocdecl in class MXParserXmlPullParserExceptionIOExceptionprotected char processExternalId(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processInternalSubset()
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processPEReference()
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processMarkupDecl(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processElementDecl(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processAttlistDecl(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processEntityDecl(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected void processNotationDecl(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionprotected char readName(char ch)
throws XmlPullParserException,
IOException
XmlPullParserExceptionIOExceptionCopyright © 2013. All Rights Reserved.