|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xalan.transformer.StackGuard
Class to guard against recursion getting too deep.
Field Summary | |
---|---|
static int |
m_recursionLimit
Used for infinite loop check. |
Constructor Summary | |
---|---|
StackGuard(TransformerImpl transformerImpl)
Constructor StackGuard |
Method Summary | |
---|---|
void |
checkForInfinateLoop()
Check if we are in an infinite loop |
int |
countLikeTemplates(ElemTemplate templ,
int pos)
Overide equal method for StackGuard objects |
int |
getRecursionLimit()
Get the recursion limit. |
void |
setRecursionLimit(int limit)
Set the recursion limit. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int m_recursionLimit
Constructor Detail |
public StackGuard(TransformerImpl transformerImpl)
Method Detail |
public int getRecursionLimit()
public void setRecursionLimit(int limit)
limit
- The recursion limit.public int countLikeTemplates(ElemTemplate templ, int pos)
public void checkForInfinateLoop() throws TransformerException
TransformerException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |