|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.impl.XMLScanner
org.apache.xerces.impl.XMLDTDScannerImpl
org.apache.xerces.impl.XML11DTDScannerImpl
public class XML11DTDScannerImpl
This class is responsible for scanning the declarations found in the internal and external subsets of a DTD in an XML document. The scanner acts as the sources for the DTD information which is communicated to the DTD handlers.
This component requires the following features and properties from the component manager that uses it:
Field Summary |
---|
Fields inherited from class org.apache.xerces.impl.XMLDTDScannerImpl |
---|
fDTDContentModelHandler, fDTDHandler, fScannerState, fSeenExternalDTD, fSeenExternalPE, fStandalone, SCANNER_STATE_END_OF_INPUT, SCANNER_STATE_MARKUP_DECL, SCANNER_STATE_TEXT_DECL |
Fields inherited from class org.apache.xerces.impl.XMLScanner |
---|
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 Summary | |
---|---|
XML11DTDScannerImpl()
Default constructor. |
|
XML11DTDScannerImpl(SymbolTable symbolTable,
XMLErrorReporter errorReporter,
XMLEntityManager entityManager)
Constructor for he use of non-XMLComponentManagers. |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.apache.xerces.impl.XMLDTDScannerImpl |
---|
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 |
Methods inherited from class org.apache.xerces.impl.XMLScanner |
---|
getFeature, reportFatalError, scanAttributeValue, scanCharReferenceValue, scanComment, scanExternalID, scanPI, scanPseudoAttribute, scanSurrogates, scanXMLDeclOrTextDecl, setFeature, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.xerces.xni.parser.XMLComponent |
---|
setFeature, setProperty |
Constructor Detail |
---|
public XML11DTDScannerImpl()
public XML11DTDScannerImpl(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityManager)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |