com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.Limit

Here are the examples of the java api class com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.Limit taken from open source projects.

1. XMLLimitAnalyzer#debugPrint()

Project: openjdk
Source File: XMLLimitAnalyzer.java
View license
public void debugPrint(XMLSecurityManager securityManager) {
    Formatter formatter = new Formatter();
    System.out.println(formatter.format("%30s %15s %15s %15s %30s", "Property", "Limit", "Total size", "Size", "Entity Name"));
    for (Limit limit : Limit.values()) {
        formatter = new Formatter();
        System.out.println(formatter.format("%30s %15d %15d %15d %30s", limit.name(), securityManager.getLimit(limit), totalValue[limit.ordinal()], values[limit.ordinal()], names[limit.ordinal()]));
    }
}