org.apache.xerces.util
public final class SecurityManager extends Object
Version: $Id: SecurityManager.java,v 1.5 2004/03/23 01:23:41 mrglavas Exp $
Constructor Summary | |
---|---|
SecurityManager()
Default constructor. |
Method Summary | |
---|---|
int | getEntityExpansionLimit() Returns the number of entity expansions that the parser permits in a document. |
int | getMaxOccurNodeLimit() Returns the limit of the number of content model nodes that may be created when building a grammar for a W3C XML Schema that contains maxOccurs attributes with values other than "unbounded". |
void | setEntityExpansionLimit(int limit) Sets the number of entity expansions that the parser should permit in a document. |
void | setMaxOccurNodeLimit(int limit) Sets the limit of the number of content model nodes that may be created when building a grammar for a W3C XML Schema that contains maxOccurs attributes with values other than "unbounded". |
Returns the number of entity expansions that the parser permits in a document.
Returns: the number of entity expansions permitted in a document
Returns the limit of the number of content model nodes that may be created when building a grammar for a W3C XML Schema that contains maxOccurs attributes with values other than "unbounded".
Returns: the maximum value for maxOccurs other than "unbounded"
Sets the number of entity expansions that the parser should permit in a document.
Parameters: limit the number of entity expansions permitted in a document
Sets the limit of the number of content model nodes that may be created when building a grammar for a W3C XML Schema that contains maxOccurs attributes with values other than "unbounded".
Parameters: limit the maximum value for maxOccurs other than "unbounded"