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 String |
getVersionNotSupportedKey() |
protected boolean |
isInvalid(int value) |
protected boolean |
isInvalidLiteral(int value) |
protected int |
isUnchangedByNormalization(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(XMLString value)
Normalize whitespace in an XMLString converting all whitespace
characters to space characters.
|
protected void |
normalizeWhitespace(XMLString value,
int fromIndex)
Normalize whitespace in an XMLString converting all whitespace
characters to space characters.
|
protected boolean |
scanPubidLiteral(XMLString literal)
Scans public ID literal.
|
protected boolean |
versionSupported(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setFeature, setProperty
public XML11DTDScannerImpl()
public XML11DTDScannerImpl(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityManager)
protected boolean scanPubidLiteral(XMLString literal) throws IOException, XNIException
scanPubidLiteral
in class XMLScanner
literal
- The string to fill in with the public ID literal.IOException
XNIException
protected void normalizeWhitespace(XMLString value)
normalizeWhitespace
in class XMLScanner
protected void normalizeWhitespace(XMLString value, int fromIndex)
normalizeWhitespace
in class XMLScanner
protected int isUnchangedByNormalization(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(String version)
versionSupported
in class XMLScanner
protected String getVersionNotSupportedKey()
getVersionNotSupportedKey
in class XMLScanner
Copyright © 2016 JBoss by Red Hat. All rights reserved.