Java Doc for XSLTemplate.java in  » XML » saxonb » net » sf » saxon » style » 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 » XML » saxonb » net.sf.saxon.style 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.saxon.style.StyleElement
   net.sf.saxon.style.XSLTemplate

XSLTemplate
final public class XSLTemplate extends StyleElement implements StylesheetProcedure(Code)
An xsl:template element in the style sheet.




Method Summary
public  voidallocateSlots(Expression exp)
     Allocate space for range variables within predicates in the match pattern.
public  Expressioncompile(Executable exec)
    
public  TemplategetCompiledTemplate()
    
public  intgetConstructType()
     Get the type of construct.
protected  ItemTypegetReturnedItemType()
    
public  SlotManagergetSlotManager()
    
public  intgetTemplateFingerprint()
     Return the fingerprint for the name of this template.
protected  booleanisPermittedChild(StyleElement child)
    
public  voidmarkTailCalls()
     Mark tail-recursive calls on templates and functions.
public  booleanmayContainSequenceConstructor()
    
public  voidprepareAttributes()
    
public  voidvalidate()
    



Method Detail
allocateSlots
public void allocateSlots(Expression exp)(Code)
Allocate space for range variables within predicates in the match pattern. The xsl:template element has no XPath expressions among its attributes, so if this method is called on this object it can only be because there are variables used in the match pattern. We work out how many slots are needed for the match pattern in each template rule, and then apply-templates can allocate a stack frame that is large enough for the most demanding match pattern in the entire stylesheet.
Parameters:
  exp - The expression containing range variables. This will be a predicate within a match pattern,or possibly an argument to id() or key() used in a match pattern.



compile
public Expression compile(Executable exec) throws XPathException(Code)
Compile: this registers the template with the rule manager, and ensures space is available for local variables



getCompiledTemplate
public Template getCompiledTemplate()(Code)
Get the compiled template



getConstructType
public int getConstructType()(Code)
Get the type of construct. This will be a constant in class net.sf.saxon.trace.Location . This method is part of the net.sf.saxon.trace.InstructionInfo interface



getReturnedItemType
protected ItemType getReturnedItemType()(Code)
Determine the type of item returned by this template the item type returned



getSlotManager
public SlotManager getSlotManager()(Code)
Get associated Procedure (for details of stack frame)



getTemplateFingerprint
public int getTemplateFingerprint()(Code)
Return the fingerprint for the name of this template. Note that this may be called before prepareAttributes has been called.



isPermittedChild
protected boolean isPermittedChild(StyleElement child)(Code)
Specify that xsl:param is a permitted child



markTailCalls
public void markTailCalls()(Code)
Mark tail-recursive calls on templates and functions.



mayContainSequenceConstructor
public boolean mayContainSequenceConstructor()(Code)
Determine whether this type of element is allowed to contain a template-body true: yes, it may contain a template-body



prepareAttributes
public void prepareAttributes() throws XPathException(Code)



validate
public void validate() throws XPathException(Code)



Fields inherited from net.sf.saxon.style.StyleElement
final public static int REPORT_ALWAYS(Code)(Java Doc)
final public static int REPORT_IF_INSTANTIATED(Code)(Java Doc)
final public static int REPORT_UNLESS_FALLBACK_AVAILABLE(Code)(Java Doc)
final public static int REPORT_UNLESS_FORWARDS_COMPATIBLE(Code)(Java Doc)
protected String defaultCollationName(Code)(Java Doc)
protected String defaultXPathNamespace(Code)(Java Doc)
protected short[] extensionNamespaces(Code)(Java Doc)
protected int reportingCircumstances(Code)(Java Doc)
protected StaticContext staticContext(Code)(Java Doc)
protected StaticError validationError(Code)(Java Doc)
protected BigDecimal version(Code)(Java Doc)

Methods inherited from net.sf.saxon.style.StyleElement
public int allocateLocationId(String systemId, int lineNumber)(Code)(Java Doc)
public void allocateSlots(Expression exp)(Code)(Java Doc)
public boolean backwardsCompatibleModeIsEnabled()(Code)(Java Doc)
public XSLVariableDeclaration bindVariable(int fingerprint) throws StaticError(Code)(Java Doc)
public void checkEmpty() throws XPathException(Code)(Java Doc)
protected void checkSortComesFirst(boolean sortRequired) throws XPathException(Code)(Java Doc)
public void checkTopLevel(String errorCode) throws XPathException(Code)(Java Doc)
protected void checkUnknownAttribute(int nc) throws XPathException(Code)(Java Doc)
public void checkWithinTemplate() throws XPathException(Code)(Java Doc)
abstract public Expression compile(Executable exec) throws XPathException(Code)(Java Doc)
protected void compileError(TransformerException error) throws XPathException(Code)(Java Doc)
protected void compileError(String message) throws XPathException(Code)(Java Doc)
protected void compileError(String message, String errorCode) throws XPathException(Code)(Java Doc)
public Expression compileSequenceConstructor(Executable exec, AxisIterator iter, boolean includeParams) throws XPathException(Code)(Java Doc)
protected void compileWarning(String message, String errorCode) throws XPathException(Code)(Java Doc)
protected boolean definesExcludedNamespace(short uriCode)(Code)(Java Doc)
protected boolean definesExtensionElement(short uriCode)(Code)(Java Doc)
protected Expression fallbackProcessing(Executable exec, StyleElement instruction) throws XPathException(Code)(Java Doc)
public void fixupReferences() throws XPathException(Code)(Java Doc)
public boolean forwardsCompatibleModeIsEnabled()(Code)(Java Doc)
protected AttributeSet[] getAttributeSets(String use, List list) throws XPathException(Code)(Java Doc)
public String getAttributeValue(String clarkName)(Code)(Java Doc)
protected ItemType getCommonChildItemType()(Code)(Java Doc)
public int getConstructType()(Code)(Java Doc)
public SlotManager getContainingSlotManager()(Code)(Java Doc)
public XSLStylesheet getContainingStylesheet()(Code)(Java Doc)
protected String getDefaultCollationName()(Code)(Java Doc)
protected short getDefaultXPathNamespace()(Code)(Java Doc)
public Executable getExecutable()(Code)(Java Doc)
protected StyleElement getLastChildInstruction()(Code)(Java Doc)
public int getLineNumber()(Code)(Java Doc)
public int getLineNumber(int locationId)(Code)(Java Doc)
public LocationProvider getLocationProvider()(Code)(Java Doc)
public NamespaceResolver getNamespaceResolver()(Code)(Java Doc)
public int getObjectFingerprint()(Code)(Java Doc)
public int getObjectNameCode()(Code)(Java Doc)
public int getPrecedence()(Code)(Java Doc)
public PreparedStylesheet getPreparedStylesheet()(Code)(Java Doc)
protected XSLStylesheet getPrincipalStylesheet()(Code)(Java Doc)
public Iterator getProperties()(Code)(Java Doc)
public Object getProperty(String name)(Code)(Java Doc)
protected ItemType getReturnedItemType()(Code)(Java Doc)
public SchemaType getSchemaType(String typeAtt) throws XPathException(Code)(Java Doc)
public StaticContext getStaticContext()(Code)(Java Doc)
public XSLFunction getStylesheetFunction(int fingerprint, int arity)(Code)(Java Doc)
public String getSystemId(int locationId)(Code)(Java Doc)
public NamePool getTargetNamePool()(Code)(Java Doc)
public int getTypeAnnotation(SchemaType schemaType)(Code)(Java Doc)
public BigDecimal getVersion()(Code)(Java Doc)
protected WithParam[] getWithParamInstructions(Executable exec, boolean tunnel, Instruction caller) throws XPathException(Code)(Java Doc)
public boolean isExcludedNamespace(short uriCode)(Code)(Java Doc)
protected boolean isExplaining()(Code)(Java Doc)
public boolean isExtensionNamespace(short uriCode)(Code)(Java Doc)
public boolean isInstruction()(Code)(Java Doc)
protected boolean isPermittedChild(StyleElement child)(Code)(Java Doc)
public boolean isTopLevel()(Code)(Java Doc)
protected void issueWarning(TransformerException error)(Code)(Java Doc)
protected void issueWarning(String message, SourceLocator locator)(Code)(Java Doc)
public Expression makeAttributeValueTemplate(String expression) throws XPathException(Code)(Java Doc)
public Expression makeExpression(String expression) throws XPathException(Code)(Java Doc)
final public int makeNameCode(String qname) throws XPathException, NamespaceException(Code)(Java Doc)
public SavedNamespaceContext makeNamespaceContext()(Code)(Java Doc)
public Pattern makePattern(String pattern) throws XPathException(Code)(Java Doc)
public SequenceType makeSequenceType(String sequenceType) throws XPathException(Code)(Java Doc)
protected SortKeyDefinition[] makeSortKeys()(Code)(Java Doc)
protected static TraceWrapper makeTraceInstruction(StyleElement source, Expression child)(Code)(Java Doc)
public void markTailCalls()(Code)(Java Doc)
public boolean mayContainFallback()(Code)(Java Doc)
public boolean mayContainSequenceConstructor()(Code)(Java Doc)
public void postValidate() throws XPathException(Code)(Java Doc)
abstract public void prepareAttributes() throws XPathException(Code)(Java Doc)
public void processAllAttributes() throws XPathException(Code)(Java Doc)
final public void processAttributes() throws XPathException(Code)(Java Doc)
protected void processDefaultCollationAttribute(String nc) throws XPathException(Code)(Java Doc)
protected void processDefaultXPathNamespaceAttribute(String nc)(Code)(Java Doc)
protected void processExcludedNamespaces(String nc) throws XPathException(Code)(Java Doc)
protected void processExtensionElementAttribute(String nc) throws XPathException(Code)(Java Doc)
protected void processVersionAttribute(String nc) throws XPathException(Code)(Java Doc)
public void reportAbsence(String attribute) throws XPathException(Code)(Java Doc)
public void setLineNumber(int lineNumber)(Code)(Java Doc)
public void setObjectNameCode(int nameCode)(Code)(Java Doc)
protected void setValidationError(TransformerException reason, int circumstances)(Code)(Java Doc)
public void substituteFor(StyleElement temp)(Code)(Java Doc)
public Expression typeCheck(String name, Expression exp) throws XPathException(Code)(Java Doc)
public Pattern typeCheck(String name, Pattern pattern) throws XPathException(Code)(Java Doc)
protected void undeclaredNamespaceError(String prefix, String errorCode) throws XPathException(Code)(Java Doc)
public void validate() throws XPathException(Code)(Java Doc)
protected void validateChildren() throws XPathException(Code)(Java Doc)
public void validateSubtree() throws XPathException(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.