public final class SecurityManager
extends java.lang.Object
| Constructor and Description | 
|---|
| SecurityManager()Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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". | 
public SecurityManager()
public void setEntityExpansionLimit(int limit)
Sets the number of entity expansions that the parser should permit in a document.
limit - the number of entity expansions
 permitted in a documentpublic int getEntityExpansionLimit()
Returns the number of entity expansions that the parser permits in a document.
public 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".
limit - the maximum value for maxOccurs other
 than "unbounded"public 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".
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.