Java Doc for XslTranslator.java in  » Scripting » Kawa » gnu » kawa » xslt » 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 » Scripting » Kawa » gnu.kawa.xslt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


gnu.text.Lexer
   gnu.kawa.xslt.XslTranslator

XslTranslator
public class XslTranslator extends Lexer implements Consumer(Code)
Translate an XSLT stylesheet to a Kawa Expression tree.


Field Summary
final static  StringXSL_TRANSFORM_URI
    
final static  MethodapplyTemplatesMethod
    
final static  PrimProcedureapplyTemplatesProc
    
 ObjectattributeType
     The 'attribute type' from the most recent startAttribute.
 StringBufferattributeValue
     Buffer to acumulate the value of the current attribute.
 Compilationcomp
    
 DeclarationconsumerDecl
    
final static  MethoddefineTemplateMethod
    
final static  PrimProceduredefineTemplateProc
    
 InPortin
    
 booleaninAttribute
     We seen a startAttribute but not the closing endAttribute.
 booleaninTemplate
    
 XSLTinterpreter
    
 ModuleExpmexp
    
 StringBuffernesting
    
final static  MethodrunStylesheetMethod
    
final static  PrimProcedurerunStylesheetProc
    
 LambdaExptemplateLambda
     Non-null if we're inside an xsl:template.
final static  ClassTypetypeTemplateTable
    
final static  ClassTypetypeXSLT
    

Constructor Summary
 XslTranslator(InPort inp, gnu.text.SourceMessages messages, XSLT interpreter)
    

Method Summary
 voidappend(Expression expr)
    
public  Consumerappend(String str)
    
public  voidendAttribute()
    
public  voidendDocument()
    
public  voidendElement()
    
public  voiderror(char kind, String message)
    
public  ExpressiongetExpression()
    
public  booleanignoring()
    
public static  StringisXslTag(Object type)
    
public  voidparse(Compilation comp)
    
public  StringpopMatchingAttribute(String ns, String name, int start)
    
 ExpressionpopTemplateBody(int start)
    
 voidpush(Expression exp)
    
 voidpush(Object value)
    
 ExpressionresolveQNameExpression(String name)
    
public  voidstartAttribute(Object attrType)
    
public  voidstartDocument()
    
public  voidstartDocument(ModuleExp mexp)
    
public  voidstartElement(Object type)
    
public  voidwrite(int v)
    
public  voidwrite(char[] buf, int off, int len)
    
public  voidwrite(String str)
    
public  voidwrite(CharSequence str, int start, int length)
    
public  voidwriteBoolean(boolean v)
    
public  voidwriteDouble(double v)
    
public  voidwriteFloat(float v)
    
public  voidwriteInt(int v)
    
public  voidwriteLong(long v)
    
public  voidwriteObject(Object v)
    

Field Detail
XSL_TRANSFORM_URI
final static String XSL_TRANSFORM_URI(Code)



applyTemplatesMethod
final static Method applyTemplatesMethod(Code)



applyTemplatesProc
final static PrimProcedure applyTemplatesProc(Code)



attributeType
Object attributeType(Code)
The 'attribute type' from the most recent startAttribute.



attributeValue
StringBuffer attributeValue(Code)
Buffer to acumulate the value of the current attribute.



comp
Compilation comp(Code)



consumerDecl
Declaration consumerDecl(Code)



defineTemplateMethod
final static Method defineTemplateMethod(Code)



defineTemplateProc
final static PrimProcedure defineTemplateProc(Code)



in
InPort in(Code)



inAttribute
boolean inAttribute(Code)
We seen a startAttribute but not the closing endAttribute.



inTemplate
boolean inTemplate(Code)



interpreter
XSLT interpreter(Code)



mexp
ModuleExp mexp(Code)



nesting
StringBuffer nesting(Code)



runStylesheetMethod
final static Method runStylesheetMethod(Code)



runStylesheetProc
final static PrimProcedure runStylesheetProc(Code)



templateLambda
LambdaExp templateLambda(Code)
Non-null if we're inside an xsl:template.



typeTemplateTable
final static ClassType typeTemplateTable(Code)



typeXSLT
final static ClassType typeXSLT(Code)




Constructor Detail
XslTranslator
XslTranslator(InPort inp, gnu.text.SourceMessages messages, XSLT interpreter)(Code)




Method Detail
append
void append(Expression expr)(Code)



append
public Consumer append(String str)(Code)



endAttribute
public void endAttribute()(Code)



endDocument
public void endDocument()(Code)



endElement
public void endElement()(Code)



error
public void error(char kind, String message)(Code)



getExpression
public Expression getExpression()(Code)



ignoring
public boolean ignoring()(Code)



isXslTag
public static String isXslTag(Object type)(Code)



parse
public void parse(Compilation comp) throws java.io.IOException(Code)



popMatchingAttribute
public String popMatchingAttribute(String ns, String name, int start)(Code)



popTemplateBody
Expression popTemplateBody(int start)(Code)



push
void push(Expression exp)(Code)



push
void push(Object value)(Code)



resolveQNameExpression
Expression resolveQNameExpression(String name)(Code)



startAttribute
public void startAttribute(Object attrType)(Code)



startDocument
public void startDocument()(Code)



startDocument
public void startDocument(ModuleExp mexp)(Code)



startElement
public void startElement(Object type)(Code)



write
public void write(int v)(Code)



write
public void write(char[] buf, int off, int len)(Code)



write
public void write(String str)(Code)



write
public void write(CharSequence str, int start, int length)(Code)



writeBoolean
public void writeBoolean(boolean v)(Code)



writeDouble
public void writeDouble(double v)(Code)



writeFloat
public void writeFloat(float v)(Code)



writeInt
public void writeInt(int v)(Code)



writeLong
public void writeLong(long v)(Code)



writeObject
public void writeObject(Object v)(Code)



Fields inherited from gnu.text.Lexer
protected boolean interactive(Code)(Java Doc)
protected int nesting(Code)(Java Doc)
protected LineBufferedReader port(Code)(Java Doc)
public char[] tokenBuffer(Code)(Java Doc)
public int tokenBufferLength(Code)(Java Doc)

Methods inherited from gnu.text.Lexer
public boolean checkErrors(PrintWriter out, int max)(Code)(Java Doc)
public boolean checkNext(char ch) throws java.io.IOException(Code)(Java Doc)
public void clearErrors()(Code)(Java Doc)
public void close() throws java.io.IOException(Code)(Java Doc)
public void eofError(String msg) throws SyntaxException(Code)(Java Doc)
public void eofError(String message, int startLine, int startColumn) throws SyntaxException(Code)(Java Doc)
public void error(char severity, String filename, int line, int column, String message)(Code)(Java Doc)
public void error(char severity, String message)(Code)(Java Doc)
public void error(String message)(Code)(Java Doc)
public void fatal(String message) throws SyntaxException(Code)(Java Doc)
public int getColumnNumber()(Code)(Java Doc)
public SourceError getErrors()(Code)(Java Doc)
public int getLineNumber()(Code)(Java Doc)
public SourceMessages getMessages()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
final public LineBufferedReader getPort()(Code)(Java Doc)
public boolean isInteractive()(Code)(Java Doc)
public void mark() throws java.io.IOException(Code)(Java Doc)
public int peek() throws java.io.IOException(Code)(Java Doc)
public void popNesting(char save)(Code)(Java Doc)
public char pushNesting(char promptChar)(Code)(Java Doc)
public int read() throws java.io.IOException(Code)(Java Doc)
public int read(char[] buf, int offset, int length) throws java.io.IOException(Code)(Java Doc)
public static long readDigitsInBuffer(LineBufferedReader port, int radix)(Code)(Java Doc)
public int readOptionalExponent() throws java.io.IOException(Code)(Java Doc)
public void reset() throws java.io.IOException(Code)(Java Doc)
public boolean seenErrors()(Code)(Java Doc)
public void setInteractive(boolean v)(Code)(Java Doc)
public void setMessages(SourceMessages messages)(Code)(Java Doc)
public void skip() throws java.io.IOException(Code)(Java Doc)
protected void skip_quick() throws java.io.IOException(Code)(Java Doc)
public void tokenBufferAppend(int ch)(Code)(Java Doc)
public void unread(int ch) throws java.io.IOException(Code)(Java Doc)
protected void unread() throws java.io.IOException(Code)(Java Doc)
protected void unread_quick() throws java.io.IOException(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.