|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.ParserConfigurationSettings org.apache.xerces.parsers.XML11Configuration org.apache.xerces.parsers.XIncludeAwareParserConfiguration org.apache.xerces.parsers.SecurityConfiguration
public class SecurityConfiguration
This configuration allows Xerces to behave in a security-conscious manner; that is, it permits applications to instruct Xerces to limit certain operations that could be exploited by malicious document authors to cause a denail-of-service attack when the document is parsed. In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:
Constructor Summary | |
---|---|
SecurityConfiguration()
Default constructor. |
|
SecurityConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table. |
|
SecurityConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool. |
|
SecurityConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool,
XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings. |
Method Summary |
---|
Methods inherited from class org.apache.xerces.parsers.XIncludeAwareParserConfiguration |
---|
getFeature, setFeature |
Methods inherited from class org.apache.xerces.parsers.XML11Configuration |
---|
cleanup, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, parse, parse, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setInputSource, setLocale, setProperty |
Methods inherited from class org.apache.xerces.util.ParserConfigurationSettings |
---|
addRecognizedFeatures, addRecognizedProperties, getProperty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.xerces.xni.parser.XMLParserConfiguration |
---|
addRecognizedFeatures, addRecognizedProperties, getProperty |
Constructor Detail |
---|
public SecurityConfiguration()
public SecurityConfiguration(SymbolTable symbolTable)
symbolTable
- The symbol table to use.public SecurityConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.public SecurityConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.parentSettings
- The parent settings.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |