public class XML11DTDScannerImpl extends XMLDTDScannerImpl
This component requires the following features and properties from the component manager that uses it:
fDTDContentModelHandler, fDTDHandler, fScannerState, fSeenExternalDTD, fSeenPEReferences, fStandalone, SCANNER_STATE_END_OF_INPUT, SCANNER_STATE_MARKUP_DECL, SCANNER_STATE_TEXT_DECL
DEBUG_ATTR_NORMALIZATION, ENTITY_MANAGER, ERROR_REPORTER, fAmpSymbol, fAposSymbol, fCharRefLiteral, fEncodingSymbol, fEntityDepth, fEntityManager, fEntityScanner, fErrorReporter, fGtSymbol, fLtSymbol, fNamespaces, fNotifyCharRefs, fParserSettings, fQuotSymbol, fReportEntity, fResourceIdentifier, fScanningAttribute, fStandaloneSymbol, fSymbolTable, fValidation, fVersionSymbol, NAMESPACES, NOTIFY_CHAR_REFS, PARSER_SETTINGS, SYMBOL_TABLE, VALIDATION
Constructor and Description |
---|
XML11DTDScannerImpl()
Default constructor.
|
XML11DTDScannerImpl(SymbolTable symbolTable,
XMLErrorReporter errorReporter,
XMLEntityManager entityManager)
Constructor for he use of non-XMLComponentManagers.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getVersionNotSupportedKey() |
protected boolean |
isInvalid(int value) |
protected boolean |
isInvalidLiteral(int value) |
protected int |
isUnchangedByNormalization(org.apache.xerces.xni.XMLString value)
Checks whether this string would be unchanged by normalization.
|
protected boolean |
isValidNameChar(int value) |
protected boolean |
isValidNameStartChar(int value) |
protected boolean |
isValidNameStartHighSurrogate(int value) |
protected boolean |
isValidNCName(int value) |
protected void |
normalizeWhitespace(org.apache.xerces.xni.XMLString value)
Normalize whitespace in an XMLString converting all whitespace
characters to space characters.
|
protected void |
normalizeWhitespace(org.apache.xerces.xni.XMLString value,
int fromIndex)
Normalize whitespace in an XMLString converting all whitespace
characters to space characters.
|
protected boolean |
scanPubidLiteral(org.apache.xerces.xni.XMLString literal)
Scans public ID literal.
|
protected boolean |
versionSupported(java.lang.String version) |
endEntity, getDTDContentModelHandler, getDTDHandler, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, reset, reset, scanAttDefaultDecl, scanAttlistDecl, scanComment, scanDecls, scanDTDExternalSubset, scanDTDInternalSubset, scanElementDecl, scanEntityValue, scanningInternalSubset, scanPIData, scanTextDecl, setDTDContentModelHandler, setDTDHandler, setInputSource, setScannerState, startEntity, startPE
getFeature, reportFatalError, scanAttributeValue, scanCharReferenceValue, scanComment, scanExternalID, scanPI, scanPseudoAttribute, scanSurrogates, scanXMLDeclOrTextDecl, setFeature, setProperty
public XML11DTDScannerImpl()
public XML11DTDScannerImpl(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityManager)
protected boolean scanPubidLiteral(org.apache.xerces.xni.XMLString literal) throws java.io.IOException, org.apache.xerces.xni.XNIException
scanPubidLiteral
in class XMLScanner
literal
- The string to fill in with the public ID literal.java.io.IOException
org.apache.xerces.xni.XNIException
protected void normalizeWhitespace(org.apache.xerces.xni.XMLString value)
normalizeWhitespace
in class XMLScanner
protected void normalizeWhitespace(org.apache.xerces.xni.XMLString value, int fromIndex)
normalizeWhitespace
in class XMLScanner
protected int isUnchangedByNormalization(org.apache.xerces.xni.XMLString value)
isUnchangedByNormalization
in class XMLScanner
protected boolean isInvalid(int value)
isInvalid
in class XMLScanner
protected boolean isInvalidLiteral(int value)
isInvalidLiteral
in class XMLScanner
protected boolean isValidNameChar(int value)
isValidNameChar
in class XMLScanner
protected boolean isValidNameStartChar(int value)
isValidNameStartChar
in class XMLScanner
protected boolean isValidNCName(int value)
isValidNCName
in class XMLScanner
protected boolean isValidNameStartHighSurrogate(int value)
isValidNameStartHighSurrogate
in class XMLScanner
protected boolean versionSupported(java.lang.String version)
versionSupported
in class XMLScanner
protected java.lang.String getVersionNotSupportedKey()
getVersionNotSupportedKey
in class XMLScanner
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.