- java.lang.Object
-
- com.github.weisj.jsvg.parser.DocumentLimits
-
public class DocumentLimits extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static DocumentLimits
DEFAULT
static int
DEFAULT_MAX_NESTING_DEPTH
static int
DEFAULT_MAX_PATH_COUNT
static int
DEFAULT_MAX_USE_NESTING_DEPTH
private int
maxNestingDepth
private int
maxPathCount
private int
maxUseNestingDepth
-
Constructor Summary
Constructors Constructor Description DocumentLimits(int maxNestingDepth, int maxUseNestingDepth, int maxPathCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
maxNestingDepth()
The maximal allowed nesting depth of elements in the document.int
maxPathCount()
The maximal allowed count of rendered instances of elements.int
maxUseNestingDepth()
The maximal allowed depth of nested
-
-
-
Field Detail
-
DEFAULT_MAX_USE_NESTING_DEPTH
public static final int DEFAULT_MAX_USE_NESTING_DEPTH
- See Also:
- Constant Field Values
-
DEFAULT_MAX_NESTING_DEPTH
public static final int DEFAULT_MAX_NESTING_DEPTH
- See Also:
- Constant Field Values
-
DEFAULT_MAX_PATH_COUNT
public static final int DEFAULT_MAX_PATH_COUNT
- See Also:
- Constant Field Values
-
DEFAULT
public static final DocumentLimits DEFAULT
-
maxNestingDepth
private final int maxNestingDepth
-
maxUseNestingDepth
private final int maxUseNestingDepth
-
maxPathCount
private final int maxPathCount
-
-
Method Detail
-
maxNestingDepth
public int maxNestingDepth()
The maximal allowed nesting depth of elements in the document.- Returns:
- The maximal nesting depth of elements
-
maxUseNestingDepth
public int maxUseNestingDepth()
The maximal allowed depth of nested- Returns:
- The maximal nesting depth of
-
maxPathCount
public int maxPathCount()
The maximal allowed count of rendered instances of elements. This also counts implicit nodes created by markers or- Returns:
- The maximal allowed count.
-
-