|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xslt.template.TemplateRuleList
TemplateRuleList keeps a list of TemplateRules which all have a non-null match pattern and same mode value.
Constructor Summary | |
TemplateRuleList(String mode)
Create a TemplateRuleList. |
Method Summary | |
void |
addTemplateRule(TemplateRule rule)
|
TemplateRule |
getMatchingRule(XsltContext context,
int maxImportPrecedence,
ResultBuilder resultBuilder)
Return a template that matches the current node of the given context. |
String |
getMode()
|
int |
getNamePoolSize()
|
Enumeration |
getRules()
Return an enumeration of the TemplateRules. |
void |
setup(int namePoolSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateRuleList(String mode)
Method Detail |
public String getMode()
public void addTemplateRule(TemplateRule rule)
public Enumeration getRules()
public int getNamePoolSize()
public void setup(int namePoolSize)
public TemplateRule getMatchingRule(XsltContext context, int maxImportPrecedence, ResultBuilder resultBuilder) throws XsltException
context
- the contextmaxImportPrecedence
- the maximal import precedence of the matching templateresultBuilder
- the current ResultBuilder for fast execution of
the built in rule "text()|@*"
XsltException
- thrown if no such a template exists
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |