jd.xml.xslt.template
Interface TemplateVisitor

All Known Implementing Classes:
TemplateScreener, TextContentBuilder

public interface TemplateVisitor


Method Summary
 void applyImports(TemplateRuleList rules, Variable[] params, int maxImportPrecedence)
           
 void applyTemplates(TemplateRuleList rules, Expression select, Sort sort, Variable[] params)
           
 void attribute(AttributeValue computedName, AttributeValue computedUri, NamespaceContext namespaceContext, String stringValue, Template templateValue)
           
 void attribute(String name, String prefix, String uri, AttributeValue value)
           
 void callTemplate(TemplateRule templateRule, Variable[] params, int suppliedParamCount, boolean isTailRecursive)
           
 void choose(Condition[] when, Template otherwise)
           
 void comment(Template content)
           
 void condition(Expression test, Template content)
           
 void copy(AttributeSet[] attributeSets, Template content)
           
 void copyOf(Expression select)
           
 void document(String xslUri, AttributeValue href, OutputFormatTemplate format, Template template)
           
 void endElement()
           
 void fallback(Template content)
           
 void forEach(Expression select, Sort sort, Template content)
           
 void message(Template content, boolean terminate)
           
 void number(Numbering numbering)
           
 void processingInstruction(AttributeValue name, Template content)
           
 void startElement(AttributeValue computedName, AttributeValue computedUri, NamespaceContext namespaceContext, AttributeSet[] attributeSets)
           
 void startElement(NodeName nodeName, NamespaceContext namespaceContext_, AttributeSet[] attributeSets, LiteralAttribute attribute)
           
 void text(String text, boolean disableOutputEscaping)
           
 void tryCatch(Template tryTemplate, Template catchTemplate)
           
 void unknown(String name, Template content)
           
 void valueOf(Expression select, boolean disableOutputEscaping)
           
 void variableBind(Variable variable)
           
 

Method Detail

applyImports

public void applyImports(TemplateRuleList rules,
                         Variable[] params,
                         int maxImportPrecedence)

applyTemplates

public void applyTemplates(TemplateRuleList rules,
                           Expression select,
                           Sort sort,
                           Variable[] params)

attribute

public void attribute(String name,
                      String prefix,
                      String uri,
                      AttributeValue value)

attribute

public void attribute(AttributeValue computedName,
                      AttributeValue computedUri,
                      NamespaceContext namespaceContext,
                      String stringValue,
                      Template templateValue)

callTemplate

public void callTemplate(TemplateRule templateRule,
                         Variable[] params,
                         int suppliedParamCount,
                         boolean isTailRecursive)

choose

public void choose(Condition[] when,
                   Template otherwise)

comment

public void comment(Template content)

condition

public void condition(Expression test,
                      Template content)

copy

public void copy(AttributeSet[] attributeSets,
                 Template content)

copyOf

public void copyOf(Expression select)

document

public void document(String xslUri,
                     AttributeValue href,
                     OutputFormatTemplate format,
                     Template template)

endElement

public void endElement()

fallback

public void fallback(Template content)

forEach

public void forEach(Expression select,
                    Sort sort,
                    Template content)

message

public void message(Template content,
                    boolean terminate)

number

public void number(Numbering numbering)

processingInstruction

public void processingInstruction(AttributeValue name,
                                  Template content)

startElement

public void startElement(AttributeValue computedName,
                         AttributeValue computedUri,
                         NamespaceContext namespaceContext,
                         AttributeSet[] attributeSets)

startElement

public void startElement(NodeName nodeName,
                         NamespaceContext namespaceContext_,
                         AttributeSet[] attributeSets,
                         LiteralAttribute attribute)

text

public void text(String text,
                 boolean disableOutputEscaping)

tryCatch

public void tryCatch(Template tryTemplate,
                     Template catchTemplate)

unknown

public void unknown(String name,
                    Template content)

valueOf

public void valueOf(Expression select,
                    boolean disableOutputEscaping)

variableBind

public void variableBind(Variable variable)