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


java.lang.Object
   net.sf.saxon.expr.ComputedExpression
      net.sf.saxon.expr.FunctionCall
         net.sf.saxon.functions.SystemFunction

All known Subclasses:   net.sf.saxon.functions.InScopePrefixes,  net.sf.saxon.functions.QNameFn,  net.sf.saxon.functions.CollatingFunction,  net.sf.saxon.functions.Component,  net.sf.saxon.functions.Lang,  net.sf.saxon.functions.Aggregate,  net.sf.saxon.functions.Position,  net.sf.saxon.functions.Root,  net.sf.saxon.functions.NormalizeUnicode,  net.sf.saxon.functions.Insert,  net.sf.saxon.functions.Remove,  net.sf.saxon.functions.Collection,  net.sf.saxon.functions.Available,  net.sf.saxon.functions.Serialize,  net.sf.saxon.functions.Concat,  net.sf.saxon.functions.Document,  net.sf.saxon.functions.Last,  net.sf.saxon.functions.Unicode,  net.sf.saxon.functions.Error,  net.sf.saxon.functions.CurrentDateTime,  net.sf.saxon.functions.Rounding,  net.sf.saxon.functions.Tokenize,  net.sf.saxon.functions.NamePart,  net.sf.saxon.functions.BooleanFn,  net.sf.saxon.functions.Replace,  net.sf.saxon.functions.ResolveURI,  net.sf.saxon.functions.Nilled,  net.sf.saxon.functions.ResolveQName,  net.sf.saxon.functions.Current,  net.sf.saxon.functions.Idref,  net.sf.saxon.functions.Existence,  net.sf.saxon.functions.StringLength,  net.sf.saxon.functions.StringFn,  net.sf.saxon.functions.EscapeURI,  net.sf.saxon.functions.Substring,  net.sf.saxon.functions.Doc,  net.sf.saxon.functions.Translate,  net.sf.saxon.functions.Evaluate,  net.sf.saxon.functions.RegexGroup,  net.sf.saxon.functions.StringJoin,  net.sf.saxon.functions.SystemProperty,  net.sf.saxon.functions.Subsequence,  net.sf.saxon.functions.DateTimeConstructor,  net.sf.saxon.functions.TreatFn,  net.sf.saxon.functions.KeyFn,  net.sf.saxon.functions.NormalizeSpace,  net.sf.saxon.functions.Parse,  net.sf.saxon.functions.NamespaceForPrefix,  net.sf.saxon.functions.ForceCase,  net.sf.saxon.functions.FormatDate,  net.sf.saxon.functions.NumberFn,  net.sf.saxon.functions.Adjust,  net.sf.saxon.functions.BaseURI,  net.sf.saxon.functions.UnparsedText,  net.sf.saxon.functions.Trace,  net.sf.saxon.functions.UnparsedEntity,  net.sf.saxon.functions.Id,  net.sf.saxon.functions.CurrentGroup,  net.sf.saxon.functions.FormatNumber2,  net.sf.saxon.functions.Matches,  net.sf.saxon.functions.CompileTimeFunction,
SystemFunction
abstract public class SystemFunction extends FunctionCall (Code)
Abstract superclass for system-defined and user-defined functions


Field Summary
protected  intoperation
    


Method Summary
final protected  voidaddContextDocumentArgument(int pos, String augmentedName)
     Add an implicit argument referring to the context document.
public  voidcheckArguments(StaticContext env)
    
public  intcomputeCardinality()
     Determine the cardinality of the function.
public  intcomputeSpecialProperties()
     Determine the special properties of this expression.
public  voiddisplay(int level, NamePool pool, PrintStream out)
    
protected  StandardFunction.EntrygetDetails()
    
public  StringgetErrorCodeForTypeErrors()
    
public  ItemTypegetItemType(TypeHierarchy th)
    
protected  SequenceTypegetRequiredType(int arg)
    
public static  voidmain(String[] args)
    
public static  FunctionCallmakeSystemFunction(String name, int arity, NamePool pool)
     Make a system function (one in the standard function namespace).
Parameters:
  name - The local name of the function.
public  voidsetDetails(StandardFunction.Entry entry)
    
final protected  voiduseContextItemAsDefault()
     Set "." as the default value for the first and only argument.

Field Detail
operation
protected int operation(Code)





Method Detail
addContextDocumentArgument
final protected void addContextDocumentArgument(int pos, String augmentedName) throws StaticError(Code)
Add an implicit argument referring to the context document. Called by functions such as id() and key() that take the context document as an implicit argument



checkArguments
public void checkArguments(StaticContext env) throws XPathException(Code)
Method called during static type checking



computeCardinality
public int computeCardinality()(Code)
Determine the cardinality of the function.



computeSpecialProperties
public int computeSpecialProperties()(Code)
Determine the special properties of this expression. The general rule is that a system function call is non-creative if its return type is atomic, or if all its arguments are non-creative. This is overridden for the generate-id() function, which is considered creative if its operand is creative (because the result depends on the identity of the operand)



display
public void display(int level, NamePool pool, PrintStream out)(Code)
Diagnostic print of expression structure



getDetails
protected StandardFunction.Entry getDetails()(Code)
Get the details



getErrorCodeForTypeErrors
public String getErrorCodeForTypeErrors()(Code)
Return the error code to be used for type errors



getItemType
public ItemType getItemType(TypeHierarchy th)(Code)
Determine the item type of the value returned by the function
Parameters:
  th -



getRequiredType
protected SequenceType getRequiredType(int arg)(Code)
Get the required type of the nth argument



main
public static void main(String[] args) throws Exception(Code)
The main() method of this class is not intended to be called, it merely tells the code inspection tools in IDEA that the constructors of each function class are actual entry points



makeSystemFunction
public static FunctionCall makeSystemFunction(String name, int arity, NamePool pool)(Code)
Make a system function (one in the standard function namespace).
Parameters:
  name - The local name of the function. It may also be a lexical QName fora recognized built-in function, e.g. saxon:evaluate, in which case the prefix is hard-coded. a FunctionCall that implements this function, if itexists, or null if the function is unknown.



setDetails
public void setDetails(StandardFunction.Entry entry)(Code)
Set the details of this type of function



useContextItemAsDefault
final protected void useContextItemAsDefault()(Code)
Set "." as the default value for the first and only argument. Called from subclasses.



Fields inherited from net.sf.saxon.expr.FunctionCall
protected Expression[] argument(Code)(Java Doc)

Methods inherited from net.sf.saxon.expr.FunctionCall
protected int checkArgumentCount(int min, int max, StaticContext env) throws XPathException(Code)(Java Doc)
abstract protected void checkArguments(StaticContext env) throws XPathException(Code)(Java Doc)
public void display(int level, NamePool pool, PrintStream out)(Code)(Java Doc)
final public String getDisplayName(NamePool pool)(Code)(Java Doc)
final public int getFunctionNameCode()(Code)(Java Doc)
final public int getNumberOfArguments()(Code)(Java Doc)
public Iterator iterateSubExpressions()(Code)(Java Doc)
public Expression optimize(Optimizer opt, StaticContext env, ItemType contextItemType) throws XPathException(Code)(Java Doc)
public Expression preEvaluate(StaticContext env) throws XPathException(Code)(Java Doc)
public Expression promote(PromotionOffer offer) throws XPathException(Code)(Java Doc)
public void setArguments(Expression[] args)(Code)(Java Doc)
final public void setFunctionNameCode(int nc)(Code)(Java Doc)
public Expression simplify(StaticContext env) throws XPathException(Code)(Java Doc)
final protected Expression simplifyArguments(StaticContext env) throws XPathException(Code)(Java Doc)
public Expression typeCheck(StaticContext env, ItemType contextItemType) throws XPathException(Code)(Java Doc)

Fields inherited from net.sf.saxon.expr.ComputedExpression
protected int locationId(Code)(Java Doc)
protected int staticProperties(Code)(Java Doc)

Methods inherited from net.sf.saxon.expr.ComputedExpression
public void adoptChildExpression(Expression child)(Code)(Java Doc)
public void checkPermittedContents(SchemaType parentType, StaticContext env, boolean whole) throws XPathException(Code)(Java Doc)
abstract protected int computeCardinality()(Code)(Java Doc)
public int computeDependencies()(Code)(Java Doc)
public int computeSpecialProperties()(Code)(Java Doc)
final public void computeStaticProperties()(Code)(Java Doc)
final public Expression doPromotion(Expression subexpression, PromotionOffer offer) throws XPathException(Code)(Java Doc)
protected void dynamicError(String message, XPathContext context) throws DynamicError(Code)(Java Doc)
protected void dynamicError(String message, String code, XPathContext context) throws DynamicError(Code)(Java Doc)
public boolean effectiveBooleanValue(XPathContext context) throws XPathException(Code)(Java Doc)
public String evaluateAsString(XPathContext context) throws XPathException(Code)(Java Doc)
public Item evaluateItem(XPathContext context) throws XPathException(Code)(Java Doc)
public int getCardinality()(Code)(Java Doc)
public int getColumnNumber()(Code)(Java Doc)
protected int getConstructType()(Code)(Java Doc)
public int getDependencies()(Code)(Java Doc)
public Executable getExecutable()(Code)(Java Doc)
public int getImplementationMethod()(Code)(Java Doc)
public InstructionInfo getInstructionInfo()(Code)(Java Doc)
public int getIntrinsicDependencies()(Code)(Java Doc)
public int getLineNumber()(Code)(Java Doc)
final public int getLocationId()(Code)(Java Doc)
public LocationProvider getLocationProvider()(Code)(Java Doc)
public Container getParentExpression()(Code)(Java Doc)
final public String getPublicId()(Code)(Java Doc)
public int[] getSlotsUsed()(Code)(Java Doc)
final public int getSpecialProperties()(Code)(Java Doc)
public String getSystemId()(Code)(Java Doc)
public boolean hasBadParentPointer()(Code)(Java Doc)
public SequenceIterator iterate(XPathContext context) throws XPathException(Code)(Java Doc)
public Iterator iterateSubExpressions()(Code)(Java Doc)
public boolean markTailFunctionCalls()(Code)(Java Doc)
public void process(XPathContext context) throws XPathException(Code)(Java Doc)
public Expression promote(PromotionOffer offer) throws XPathException(Code)(Java Doc)
final public void resetStaticProperties()(Code)(Java Doc)
public void setLocationId(int id)(Code)(Java Doc)
public void setParentExpression(Container parent)(Code)(Java Doc)
public Expression simplify(StaticContext env) throws XPathException(Code)(Java Doc)
public void suppressValidation(int validationMode)(Code)(Java Doc)
protected void typeError(String message, XPathContext context) throws DynamicError(Code)(Java Doc)
protected void typeError(String message, String errorCode, XPathContext context) throws DynamicError(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.