Java Doc for JavaGenerator.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » xsl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.xsl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.xsl.Generator
      com.caucho.xsl.JavaGenerator

JavaGenerator
public class JavaGenerator extends Generator (Code)
Generates code for a Java based stylesheet.
 package work.xsl;
 public class foo extends JavaStylesheet {
 }
 

Inner Class :static class Macro

Field Summary
 IntArray_envDepth
    
 IntMap_exprMap
    
 ArrayList<Expr>_exprs
    
 ArrayList<XslNumberFormat>_formats
    
 ArrayList<Object>_fragments
    
 ArrayList<String>_functions
    
 HashMap<String, String>_macros
    
 IntMap_matchMap
    
 ArrayList<AbstractPattern>_matchPatterns
    
 ArrayList<String>_modes
    
 ArrayList<NamespaceContext>_namespaces
    
 JavaWriter_out
    
 Path_path
    
 WriteStream_s
    
 IntMap_selectMap
    
 ArrayList<AbstractPattern>_selectPatterns
    
 ArrayList<Sort[]>_sorts
    
 IntMap_stringMap
    
 ArrayList<String>_strings
    
 ArrayList<String>_stylesheets
    
 int_templateCount
    
 ArrayList<Template>_templateList
    
 int_unique
    

Constructor Summary
 JavaGenerator(AbstractStylesheetFactory xslGenerator, String className, String encoding)
     Creates a new XSL generator for Java.

Method Summary
public  intaddExpr(Expr expr)
     Adds an expression constant returning its index.
Parameters:
  expr - the expression to add.
public  intaddExpr(String exprString)
     Adds an expression constant returning its index.
Parameters:
  exprString - the expression to add.
public  intaddFormat(XslNumberFormat format)
    
public  voidaddMacro(String name, String functionName)
    
public  intaddMatch(AbstractPattern pattern)
     Adds a match pattern, returning its index.
Parameters:
  pattern - the expression to add.
public  voidaddMode(String mode)
    
public  intaddNamespace(NamespaceContext namespace)
    
public  intaddSelect(AbstractPattern select)
     Adds a select pattern returning its index.
Parameters:
  select - the select pattern to add.
public  intaddSelect(String selectString)
     Adds a select pattern, returning its index.
Parameters:
  selectString - the expression to add.
public  intaddSort(Sort[] sort)
    
public  intaddStylesheet(String filename)
    
public  voidclearUnique()
    
public  voidclose()
     Close call when an error occurs.
protected  StylesheetImplcompleteGenerate(ArrayList<XslNode> inits, ArrayList globals)
    
protected  XslNodecreateChild(XslNode parent, Node childNode)
    
protected  XslNodecreateChild(Node child)
    
 intcreateMatchPattern(String select, Element element)
    
 intcreateSelectPattern(AbstractPattern pattern)
    
public  StringcreateTemplatePattern(String name, AbstractPattern match, String mode, double priority)
    
protected  voidendDisableEscaping()
    
protected  voidgenerateChild(Node child)
    
public  intgenerateId()
    
 voidgenerateString(String string, int mode, Element elt)
     Produces code to generate an attribute value template.
 StringgenerateStringVar(String string, Element elt)
     Produces code to generate an attribute value template.
public  HashMap<String, String>getAttributeSet(String name)
     Returns the named attribute set.
public  ArrayList<XslAttribute>getAttributeSetList(String name)
     Returns the named attribute set.
public  intgetCallDepth()
    
public  StringgetCurrentPosition()
    
public  StringgetElement()
    
public  StringgetEnv()
    
public  StringgetMacroName(String name)
    
public  StringgetModeName(String mode)
     Returns the name of the applyNode method.
 StringgetName(String tag)
    
public  AbstractPatterngetNodeListContext()
    
protected  JavaWritergetOut()
    
public  intgetSelectDepth()
    
public  intgetSelectLoopDepth()
    
public  booleanhasMacro(String name)
    
protected  voidpopCall()
    
public  intpopCallDepth()
    
 voidpopEnv()
    
public  voidpopLoop()
    
public  intpopSelectDepth()
    
public  intpopSelectLoopDepth()
    
protected  voidprintApplyImports(String mode, int min, int max)
    
protected  voidprintApplyTemplates(AbstractPattern select, String mode, Sort[] sort)
    
protected  voidprintAssign(String name, Object value)
    
protected  voidprintAttribute(Element element, String name)
    
protected  voidprintAttribute(Element element, String name, String namespace)
    
protected  voidprintCacheDepends(String name)
    
protected  voidprintCallTemplate(String name, String mode)
    
protected  voidprintChoose(Element element, Expr expr, boolean first)
    
protected  voidprintComment(Element element)
    
protected  voidprintCopy(Element element)
    
protected  voidprintCopyOf(String select, Element elt)
    
protected  voidprintDeclaration(Element element)
    
protected  voidprintElement(Node node)
    
protected  voidprintElement(Element element, String name)
    
protected  voidprintElement(Element element, String name, String namespace)
    
protected  voidprintError(String msg)
    
 voidprintExprTest(Expr expr, String element)
    
public  voidprintExprTest(int exprId, String element)
    
protected  voidprintExpression(Element element)
     Prints code to implement the xtp:expression tag, i.e.
protected  voidprintForEach(Element element, String select)
    
protected  voidprintForEach(Element element, String select, Sort[] sort)
     Prints code for xsl:for-each when the for-each has any xsl:sort.
protected  voidprintHeader()
     Prints the generated header.
protected  voidprintIf(Element element, Expr test)
    
protected  voidprintInit()
    
protected  voidprintInitVars(ArrayList<XslNode> inits)
     Generate code executed for all transformations.
public  voidprintLocation(String systemId, String filename, int line)
     Prints a command to set the current file and line into the generated document.
protected  voidprintMessage(Element msg)
    
public  voidprintNamespace(NamespaceContext namespace)
    
 voidprintNumber(Expr expr, XslNumberFormat format)
    
 voidprintNumber(String level, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format)
    
protected  voidprintOtherwise(Element element, boolean first)
    
protected  voidprintParam(String name, String value, Element elt)
     Prints the value for a parameter.
protected  voidprintParam(String name, Object value)
    
protected  voidprintParamVariable(String name, Expr value)
     Prints code to add the value of an expression as a parameter.
protected  voidprintParamVariable(String name, Element value)
    
 voidprintPattern(AbstractPattern pattern)
    
protected  voidprintPi(Element element)
    
protected  voidprintPopScope(int count)
    
protected  voidprintResultDocument(Element element, String href, String format)
    
protected  voidprintScriptlet(Element element)
    
protected  voidprintSelectValue(String select, Element elt)
    
protected  voidprintString(String str)
     Prints the contents of a string, taking care of escapes.
protected  voidprintTemplate(Element absNode, String name, String pattern, String mode, double priority)
    
protected  voidprintVariable(String name, Object value)
    
protected  voidprintWhile(Element element, Expr test)
    
protected  voidpushCall()
    
public  intpushCallDepth()
    
 voidpushEnv()
    
public  voidpushLoop()
    
public  intpushSelectDepth()
    
public  intpushSelectLoopDepth()
    
public  voidsetCurrentPosition(String pos)
    
public  voidsetNodeListContext(AbstractPattern context)
    
public  voidsetSelectDepth(int depth)
    
public  voidsetSelectLoopDepth(int depth)
    
protected  voidstartDisableEscaping()
    
public  StringtoJavaIdentifier(String name)
    
protected  voidwriteText(String text)
     Creates Java code to print plain text.

Field Detail
_envDepth
IntArray _envDepth(Code)



_exprMap
IntMap _exprMap(Code)



_exprs
ArrayList<Expr> _exprs(Code)



_formats
ArrayList<XslNumberFormat> _formats(Code)



_fragments
ArrayList<Object> _fragments(Code)



_functions
ArrayList<String> _functions(Code)



_macros
HashMap<String, String> _macros(Code)



_matchMap
IntMap _matchMap(Code)



_matchPatterns
ArrayList<AbstractPattern> _matchPatterns(Code)



_modes
ArrayList<String> _modes(Code)



_namespaces
ArrayList<NamespaceContext> _namespaces(Code)



_out
JavaWriter _out(Code)



_path
Path _path(Code)



_s
WriteStream _s(Code)



_selectMap
IntMap _selectMap(Code)



_selectPatterns
ArrayList<AbstractPattern> _selectPatterns(Code)



_sorts
ArrayList<Sort[]> _sorts(Code)



_stringMap
IntMap _stringMap(Code)



_strings
ArrayList<String> _strings(Code)



_stylesheets
ArrayList<String> _stylesheets(Code)



_templateCount
int _templateCount(Code)



_templateList
ArrayList<Template> _templateList(Code)



_unique
int _unique(Code)




Constructor Detail
JavaGenerator
JavaGenerator(AbstractStylesheetFactory xslGenerator, String className, String encoding) throws IOException(Code)
Creates a new XSL generator for Java.
Parameters:
  xslGenerator - the owning factory.
Parameters:
  className - the name of the generated class
Parameters:
  encoding - the generated output encoding.




Method Detail
addExpr
public int addExpr(Expr expr) throws XslParseException(Code)
Adds an expression constant returning its index.
Parameters:
  expr - the expression to add. the index into the runtime expression array



addExpr
public int addExpr(String exprString) throws XslParseException(Code)
Adds an expression constant returning its index.
Parameters:
  exprString - the expression to add. the index into the runtime expression array



addFormat
public int addFormat(XslNumberFormat format)(Code)



addMacro
public void addMacro(String name, String functionName)(Code)



addMatch
public int addMatch(AbstractPattern pattern) throws XslParseException(Code)
Adds a match pattern, returning its index.
Parameters:
  pattern - the expression to add. the index into the runtime expression array



addMode
public void addMode(String mode)(Code)



addNamespace
public int addNamespace(NamespaceContext namespace) throws Exception(Code)



addSelect
public int addSelect(AbstractPattern select) throws IOException, XslParseException(Code)
Adds a select pattern returning its index.
Parameters:
  select - the select pattern to add. the index into the runtime expression array



addSelect
public int addSelect(String selectString) throws IOException, XslParseException(Code)
Adds a select pattern, returning its index.
Parameters:
  selectString - the expression to add. the index into the runtime select pattern array



addSort
public int addSort(Sort[] sort)(Code)



addStylesheet
public int addStylesheet(String filename)(Code)



clearUnique
public void clearUnique()(Code)



close
public void close() throws IOException(Code)
Close call when an error occurs.



completeGenerate
protected StylesheetImpl completeGenerate(ArrayList<XslNode> inits, ArrayList globals) throws Exception(Code)



createChild
protected XslNode createChild(XslNode parent, Node childNode) throws Exception(Code)



createChild
protected XslNode createChild(Node child) throws Exception(Code)



createMatchPattern
int createMatchPattern(String select, Element element) throws Exception(Code)



createSelectPattern
int createSelectPattern(AbstractPattern pattern) throws Exception(Code)



createTemplatePattern
public String createTemplatePattern(String name, AbstractPattern match, String mode, double priority) throws Exception(Code)
Generates the pattern for a matching pattern
Parameters:
  name - the mangled name of the function
Parameters:
  match - the XPath match pattern
Parameters:
  mode - the template mode
Parameters:
  priority - the template priority
Parameters:
  node - the source XML node from the XSL file the name of the function



endDisableEscaping
protected void endDisableEscaping() throws IOException(Code)



generateChild
protected void generateChild(Node child) throws Exception(Code)



generateId
public int generateId()(Code)



generateString
void generateString(String string, int mode, Element elt) throws Exception(Code)
Produces code to generate an attribute value template. The same code is used to produce a string ('a{b}c' -> "a" + b + "c") or a series of print statements (',').
Parameters:
  string - the source template
Parameters:
  mode - separator: either '+' or ','
Parameters:
  elt - the containing element. Needed for namespaces.



generateStringVar
String generateStringVar(String string, Element elt) throws Exception(Code)
Produces code to generate an attribute value template. The same code is used to produce a string ('a{b}c' -> "a" + b + "c") or a series of print statements (',').
Parameters:
  string - the source template
Parameters:
  elt - the containing element. Needed for namespaces. the variable storing the generated string.



getAttributeSet
public HashMap<String, String> getAttributeSet(String name)(Code)
Returns the named attribute set.



getAttributeSetList
public ArrayList<XslAttribute> getAttributeSetList(String name)(Code)
Returns the named attribute set.



getCallDepth
public int getCallDepth()(Code)



getCurrentPosition
public String getCurrentPosition()(Code)



getElement
public String getElement()(Code)



getEnv
public String getEnv()(Code)



getMacroName
public String getMacroName(String name)(Code)



getModeName
public String getModeName(String mode)(Code)
Returns the name of the applyNode method.
Parameters:
  mode - the template's mode.



getName
String getName(String tag)(Code)



getNodeListContext
public AbstractPattern getNodeListContext()(Code)



getOut
protected JavaWriter getOut()(Code)



getSelectDepth
public int getSelectDepth()(Code)



getSelectLoopDepth
public int getSelectLoopDepth()(Code)



hasMacro
public boolean hasMacro(String name)(Code)



popCall
protected void popCall() throws IOException(Code)



popCallDepth
public int popCallDepth()(Code)



popEnv
void popEnv()(Code)



popLoop
public void popLoop()(Code)



popSelectDepth
public int popSelectDepth()(Code)



popSelectLoopDepth
public int popSelectLoopDepth()(Code)



printApplyImports
protected void printApplyImports(String mode, int min, int max) throws Exception(Code)
Prints code to implement xsl:apply-imports
Parameters:
  mode - the mode of the imported files
Parameters:
  min - the min importance
Parameters:
  max - the max importance



printApplyTemplates
protected void printApplyTemplates(AbstractPattern select, String mode, Sort[] sort) throws Exception(Code)
Prints code for xsl:apply-templates
Parameters:
  select - the select pattern
Parameters:
  mode - the template mode
Parameters:
  sort - the sort expressions



printAssign
protected void printAssign(String name, Object value) throws Exception(Code)



printAttribute
protected void printAttribute(Element element, String name) throws Exception(Code)
Prints an xsl:attribute



printAttribute
protected void printAttribute(Element element, String name, String namespace) throws Exception(Code)



printCacheDepends
protected void printCacheDepends(String name) throws Exception(Code)



printCallTemplate
protected void printCallTemplate(String name, String mode) throws Exception(Code)



printChoose
protected void printChoose(Element element, Expr expr, boolean first) throws Exception(Code)



printComment
protected void printComment(Element element) throws Exception(Code)



printCopy
protected void printCopy(Element element) throws Exception(Code)



printCopyOf
protected void printCopyOf(String select, Element elt) throws Exception(Code)



printDeclaration
protected void printDeclaration(Element element) throws Exception(Code)



printElement
protected void printElement(Node node) throws Exception(Code)



printElement
protected void printElement(Element element, String name) throws Exception(Code)



printElement
protected void printElement(Element element, String name, String namespace) throws Exception(Code)



printError
protected void printError(String msg) throws Exception(Code)



printExprTest
void printExprTest(Expr expr, String element) throws Exception(Code)



printExprTest
public void printExprTest(int exprId, String element) throws Exception(Code)



printExpression
protected void printExpression(Element element) throws Exception(Code)
Prints code to implement the xtp:expression tag, i.e. print the value of the Java expression.



printForEach
protected void printForEach(Element element, String select) throws Exception(Code)



printForEach
protected void printForEach(Element element, String select, Sort[] sort) throws Exception(Code)
Prints code for xsl:for-each when the for-each has any xsl:sort.



printHeader
protected void printHeader() throws IOException(Code)
Prints the generated header.



printIf
protected void printIf(Element element, Expr test) throws Exception(Code)



printInit
protected void printInit() throws Exception(Code)



printInitVars
protected void printInitVars(ArrayList<XslNode> inits) throws Exception(Code)
Generate code executed for all transformations.
  • Add the stylesheet namespaces to the generated document.
  • Assign the global variables.
  • Initialize the cache dependencies.



printLocation
public void printLocation(String systemId, String filename, int line) throws Exception(Code)
Prints a command to set the current file and line into the generated document.
Parameters:
  filename - the source filename
Parameters:
  line - the source line number.



printMessage
protected void printMessage(Element msg) throws Exception(Code)



printNamespace
public void printNamespace(NamespaceContext namespace) throws Exception(Code)



printNumber
void printNumber(Expr expr, XslNumberFormat format) throws Exception(Code)



printNumber
void printNumber(String level, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format) throws Exception(Code)



printOtherwise
protected void printOtherwise(Element element, boolean first) throws Exception(Code)



printParam
protected void printParam(String name, String value, Element elt) throws Exception(Code)
Prints the value for a parameter.



printParam
protected void printParam(String name, Object value) throws Exception(Code)



printParamVariable
protected void printParamVariable(String name, Expr value) throws Exception(Code)
Prints code to add the value of an expression as a parameter.



printParamVariable
protected void printParamVariable(String name, Element value) throws Exception(Code)



printPattern
void printPattern(AbstractPattern pattern) throws Exception(Code)



printPi
protected void printPi(Element element) throws Exception(Code)



printPopScope
protected void printPopScope(int count) throws Exception(Code)



printResultDocument
protected void printResultDocument(Element element, String href, String format) throws Exception(Code)



printScriptlet
protected void printScriptlet(Element element) throws Exception(Code)



printSelectValue
protected void printSelectValue(String select, Element elt) throws Exception(Code)



printString
protected void printString(String str) throws IOException(Code)
Prints the contents of a string, taking care of escapes.



printTemplate
protected void printTemplate(Element absNode, String name, String pattern, String mode, double priority) throws Exception(Code)
Generates code for a template
Parameters:
  absNode - the XSL node for the emplace
Parameters:
  name - the template name
Parameters:
  pattern - the pattern string
Parameters:
  mode - the template's mode
Parameters:
  priority - the template's priority



printVariable
protected void printVariable(String name, Object value) throws Exception(Code)



printWhile
protected void printWhile(Element element, Expr test) throws Exception(Code)



pushCall
protected void pushCall() throws IOException(Code)



pushCallDepth
public int pushCallDepth()(Code)



pushEnv
void pushEnv()(Code)



pushLoop
public void pushLoop()(Code)



pushSelectDepth
public int pushSelectDepth()(Code)



pushSelectLoopDepth
public int pushSelectLoopDepth()(Code)



setCurrentPosition
public void setCurrentPosition(String pos)(Code)



setNodeListContext
public void setNodeListContext(AbstractPattern context)(Code)



setSelectDepth
public void setSelectDepth(int depth)(Code)



setSelectLoopDepth
public void setSelectLoopDepth(int depth)(Code)



startDisableEscaping
protected void startDisableEscaping() throws IOException(Code)



toJavaIdentifier
public String toJavaIdentifier(String name)(Code)
Converts a string to a Java identifier, encoding unknown characters as "_"



writeText
protected void writeText(String text) throws Exception(Code)
Creates Java code to print plain text.



Fields inherited from com.caucho.xsl.Generator
final protected static L10N L(Code)(Java Doc)
final public static String XSLNS(Code)(Java Doc)
final public static String XTPNS(Code)(Java Doc)
HashMap<String, XslAttributeSet> _attributeSets(Code)(Java Doc)
Path _baseURL(Code)(Java Doc)
protected ArrayList<String> _cacheDepends(Code)(Java Doc)
Path _context(Code)(Java Doc)
boolean _defaultCacheable(Code)(Java Doc)
protected ArrayList<Path> _depends(Code)(Java Doc)
protected int _destLine(Code)(Java Doc)
protected Document _doc(Code)(Java Doc)
protected String _encoding(Code)(Java Doc)
protected String _errorPage(Code)(Java Doc)
protected HashMap<String, String> _excludedNamespaces(Code)(Java Doc)
String _filename(Code)(Java Doc)
HashMap<String, Document> _files(Code)(Java Doc)
protected FormatNumberFun _formatNumberFun(Code)(Java Doc)
protected ArrayList _globalActions(Code)(Java Doc)
protected ArrayList<String> _globalParameters(Code)(Java Doc)
boolean _hasSession(Code)(Java Doc)
int _importance(Code)(Java Doc)
protected ArrayList<String> _imports(Code)(Java Doc)
boolean _isCacheable(Code)(Java Doc)
protected boolean _isRawText(Code)(Java Doc)
protected boolean _isSpecial(Code)(Java Doc)
protected boolean _isStyleScript(Code)(Java Doc)
protected KeyFun _keyFun(Code)(Java Doc)
int _line(Code)(Java Doc)
boolean _lineContent(Code)(Java Doc)
protected LineMap _lineMap(Code)(Java Doc)
int _lineWs(Code)(Java Doc)
int _loopDepth(Code)(Java Doc)
HashMap<String, String> _macros(Code)(Java Doc)
int _minImportance(Code)(Java Doc)
HashMap<String, String> _names(Code)(Java Doc)
protected NamespaceContext _namespace(Code)(Java Doc)
protected HashMap<String, String[]> _namespaceAliases(Code)(Java Doc)
protected AbstractPattern _nodeListContext(Code)(Java Doc)
HashMap<String, String> _outputAttributes(Code)(Java Doc)
protected Path _path(Code)(Java Doc)
protected HashMap<String, String> _preserve(Code)(Java Doc)
protected CauchoDocument _qDoc(Code)(Java Doc)
protected HashMap<String, String> _strip(Code)(Java Doc)
String _systemId(Code)(Java Doc)
int _templateCount(Code)(Java Doc)
HashMap<String, ArrayList<Template>> _templates(Code)(Java Doc)
CharBuffer _text(Code)(Java Doc)
Path _topContext(Code)(Java Doc)
int _uniqueId(Code)(Java Doc)
Path _workPath(Code)(Java Doc)
protected AbstractStylesheetFactory _xslGenerator(Code)(Java Doc)
String _xslName(Code)(Java Doc)

Methods inherited from com.caucho.xsl.Generator
public void addAttributeSet(String name, XslAttributeSet attributeSet)(Code)(Java Doc)
void addDepend(Path depend)(Code)(Java Doc)
public void addExcludedNamespace(String ns)(Code)(Java Doc)
public void addGlobalParameter(String param)(Code)(Java Doc)
public void addImport(String pkg)(Code)(Java Doc)
public void addImportList(String value) throws XslParseException(Code)(Java Doc)
public void addInit(XslNode node)(Code)(Java Doc)
public void addKey(String name, AbstractPattern match, Expr use)(Code)(Java Doc)
public void addLocale(String name, DecimalFormatSymbols format)(Code)(Java Doc)
protected NamespaceContext addNamespace(Element elt)(Code)(Java Doc)
public void addNamespaceAlias(String stylesheetPrefix, String resultPrefix)(Code)(Java Doc)
public void addNamespaceAlias(String namespace, String[] result)(Code)(Java Doc)
Template addPattern(AbstractPattern pattern, String mode, double priority, String function, int funId)(Code)(Java Doc)
public void addPreserveSpace(String elements)(Code)(Java Doc)
public void addStripSpace(String elements)(Code)(Java Doc)
public void close() throws IOException, XslParseException(Code)(Java Doc)
abstract protected StylesheetImpl completeGenerate(ArrayList<XslNode> inits, ArrayList globals) throws Exception(Code)(Java Doc)
abstract protected XslNode createChild(Node child) throws Exception(Code)(Java Doc)
abstract protected XslNode createChild(XslNode parent, Node child) throws Exception(Code)(Java Doc)
abstract protected void endDisableEscaping() throws Exception(Code)(Java Doc)
XslParseException error(Exception e)(Code)(Java Doc)
XslParseException error(Node node, Exception e)(Code)(Java Doc)
XslParseException error(String message)(Code)(Java Doc)
XslParseException error(Node node, String message)(Code)(Java Doc)
public StylesheetImpl generate(Node node) throws Exception(Code)(Java Doc)
void generateAttribute(Element element) throws Exception(Code)(Java Doc)
protected void generateChild(Node child) throws Exception(Code)(Java Doc)
public void generateChild(Node child, int code) throws Exception(Code)(Java Doc)
public void generateChildImpl(Node child) throws Exception(Code)(Java Doc)
protected void generateChildren(Node node) throws Exception(Code)(Java Doc)
void generateChoose(Element element) throws Exception(Code)(Java Doc)
void generateElement(Element element) throws Exception(Code)(Java Doc)
void generateForEach(Element element) throws Exception(Code)(Java Doc)
void generateIf(Element element) throws Exception(Code)(Java Doc)
public XslNode generateImport(String href) throws Exception(Code)(Java Doc)
void generateInclude(Element element) throws Exception(Code)(Java Doc)
public void generateInclude(XslNode parent, String href) throws Exception(Code)(Java Doc)
void generateKey(Element element) throws Exception(Code)(Java Doc)
void generateLocale(Element element) throws Exception(Code)(Java Doc)
void generateNamespaceAlias(Element element) throws Exception(Code)(Java Doc)
void generateNumber(Element element) throws Exception(Code)(Java Doc)
void generateTemplate(Element element) throws Exception(Code)(Java Doc)
void generateWhile(Element element) throws Exception(Code)(Java Doc)
void generateXslText(Element element) throws Exception(Code)(Java Doc)
public boolean getDisableOutputEscaping()(Code)(Java Doc)
public int getImportance()(Code)(Java Doc)
public int getMaxImportance()(Code)(Java Doc)
public int getMinImportance()(Code)(Java Doc)
public NamespaceContext getNamespace()(Code)(Java Doc)
public String[] getNamespaceAlias(String namespace)(Code)(Java Doc)
public AbstractPattern getNodeListContext()(Code)(Java Doc)
abstract protected JavaWriter getOut()(Code)(Java Doc)
int getTextLength()(Code)(Java Doc)
protected String getXslLocal(Node node)(Code)(Java Doc)
protected String getXtpLocal(Node node)(Code)(Java Doc)
public void incrementImportance()(Code)(Java Doc)
void init(String filename)(Code)(Java Doc)
public Expr parseExpr(String pattern) throws XslParseException(Code)(Java Doc)
public AbstractPattern parseMatch(String pattern) throws XslParseException, IOException(Code)(Java Doc)
public AbstractPattern parseSelect(String pattern) throws IOException, XslParseException(Code)(Java Doc)
protected AbstractPattern parseSelect(String pattern, Node node) throws IOException, XslParseException(Code)(Java Doc)
abstract protected void popCall() throws Exception(Code)(Java Doc)
abstract protected void printApplyImports(String mode, int min, int max) throws Exception(Code)(Java Doc)
abstract protected void printApplyTemplates(AbstractPattern select, String mode, Sort[] sort) throws Exception(Code)(Java Doc)
protected void printAssign(String name, Object value) throws Exception(Code)(Java Doc)
protected void printAttribute(Element node, String name) throws Exception(Code)(Java Doc)
protected void printAttribute(Element node, String name, String namespace) throws Exception(Code)(Java Doc)
protected void printCacheDepends(String path) throws Exception(Code)(Java Doc)
abstract protected void printCallTemplate(String name, String mode) throws Exception(Code)(Java Doc)
protected void printChoose(Element element, Expr expr, boolean first) throws Exception(Code)(Java Doc)
protected void printComment(Element node) throws Exception(Code)(Java Doc)
protected void printCopy(Element element) throws Exception(Code)(Java Doc)
protected void printCopyElement(Element element) throws Exception(Code)(Java Doc)
abstract protected void printCopyOf(String select, Element element) throws Exception(Code)(Java Doc)
protected void printDeclaration(Element node) throws Exception(Code)(Java Doc)
abstract protected void printElement(Node node) throws Exception(Code)(Java Doc)
protected void printElement(Element element, String name) throws Exception(Code)(Java Doc)
protected void printElement(Element element, String name, String namespace) throws Exception(Code)(Java Doc)
protected void printError(String msg) throws Exception(Code)(Java Doc)
protected void printExpression(Element node) throws Exception(Code)(Java Doc)
abstract protected void printForEach(Element element, String select) throws Exception(Code)(Java Doc)
abstract protected void printForEach(Element element, String select, Sort[] sort) throws Exception(Code)(Java Doc)
protected void printHeader() throws XslParseException, IOException(Code)(Java Doc)
protected void printIf(Element element, Expr expr) throws Exception(Code)(Java Doc)
void printLocation(Node node) throws Exception(Code)(Java Doc)
abstract protected void printLocation(String systemId, String filename, int line) throws Exception(Code)(Java Doc)
protected void printMessage(Element node) throws Exception(Code)(Java Doc)
void printNumber(Expr expr, XslNumberFormat format) throws Exception(Code)(Java Doc)
void printNumber(String level, AbstractPattern countPattern, AbstractPattern fromPattern, XslNumberFormat format) throws Exception(Code)(Java Doc)
protected void printOtherwise(Element element, boolean first) throws Exception(Code)(Java Doc)
abstract protected void printParam(String name, Object value) throws Exception(Code)(Java Doc)
abstract protected void printParam(String name, String value, Element elt) throws Exception(Code)(Java Doc)
abstract protected void printParamVariable(String name, Expr expr) throws Exception(Code)(Java Doc)
abstract protected void printParamVariable(String name, Element elt) throws Exception(Code)(Java Doc)
protected void printPi(Element node) throws Exception(Code)(Java Doc)
abstract protected void printPopScope(int count) throws Exception(Code)(Java Doc)
protected void printResultDocument(Element element, String href, String format) throws Exception(Code)(Java Doc)
protected void printScriptlet(Element node) throws Exception(Code)(Java Doc)
abstract protected void printSelectValue(String select, Element element) throws Exception(Code)(Java Doc)
abstract protected void printTemplate(Element node, String name, String pattern, String mode, double priority) throws Exception(Code)(Java Doc)
abstract protected void printVariable(String name, Object value) throws Exception(Code)(Java Doc)
protected void printWhile(Element element, Expr expr) throws Exception(Code)(Java Doc)
abstract protected void pushCall() throws Exception(Code)(Java Doc)
Document readXsl(Path path) throws IOException, XslParseException(Code)(Java Doc)
Document readXsl(ReadStream file) throws IOException, XslParseException(Code)(Java Doc)
public void setContentType(String type)(Code)(Java Doc)
public void setDisableOutputEscaping(boolean disable)(Code)(Java Doc)
public void setErrorPage(String errorPage)(Code)(Java Doc)
void setLocation(Node node) throws Exception(Code)(Java Doc)
public void setLocation(String systemId, String filename, int line) throws XslParseException, IOException(Code)(Java Doc)
public void setMinImportance(int importance)(Code)(Java Doc)
public void setOutputAttribute(String name, String value)(Code)(Java Doc)
void setPath(Path path)(Code)(Java Doc)
public void setStyleScript(boolean stylescript)(Code)(Java Doc)
void setWorkPath(Path path)(Code)(Java Doc)
abstract protected void startDisableEscaping() throws Exception(Code)(Java Doc)
public int uniqueId()(Code)(Java Doc)
abstract protected void writeText(String text) throws Exception(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.