| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | FunctionCall.
inner class to used in internal2Java mappings, contains the Java type and the distance between the internal type and the Java type. |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private Constructor | |
| private Method | |
| private MethodType | |
| private String | |
| private Class | |
| private QName | |
| private static final MultiHashtable | |
| private boolean | |
| private boolean | |
| private int | |
| pack-priv Expression | _thisArgument
Stores reference to object for non-static Java calls |
| private static final List | |
| protected static final String | |
| protected static final String | |
| protected static final String | |
| protected static final String | |
| protected static final String | |
| protected static final String | |
| protected static final String | |
| private static final Map | |
| private static final Map | |
| private static final Map | |
| protected static final String | |
| protected static final String | |
| protected static final String | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| private boolean | |
| protected static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final Expression | |
| protected final Expression | |
| protected final int | |
| private List | findConstructors()
Returns a vector with all constructors named |
| private List | findMethods()
Returns a vector with all methods named |
| private void | |
| public String | |
| private String | |
| public String | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| public boolean | |
| public boolean | |
| protected static String | replaceDash(String name)
To support EXSLT extensions, convert names with dash to allowable Java names: e.g., convert abc-xyz to abcXyz. |
| protected final void | |
| public void | setParser(Parser parser)
Overrides com. Set this node's parser. |
| public String | toString()
Implements abstract com. Returns a string representation of the object. |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate a function call. |
| public void | translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Compile the function call and treat as an expression Update true/false-lists. |
| private void | translateUnallowedExtension(ConstantPoolGen cpg, InstructionList il)
Translate code to call the BasisLibrary.unallowed_extensionF(String) method. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type check a function call. |
| public List | |
| public Type | |
| public Type | |
| public Type |
| _arguments | back to summary |
|---|---|
| private final List<Expression> _arguments | |
| _chosenConstructor | back to summary |
|---|---|
| private Constructor<?> _chosenConstructor | |
| _chosenMethod | back to summary |
|---|---|
| private Method _chosenMethod | |
| _chosenMethodType | back to summary |
|---|---|
| private MethodType _chosenMethodType | |
| _className | back to summary |
|---|---|
| private String _className | |
| _clazz | back to summary |
|---|---|
| private Class<?> _clazz | |
| _fname | back to summary |
|---|---|
| private QName _fname | |
| _internal2Java | back to summary |
|---|---|
| private static final MultiHashtable<Type, FunctionCall. | |
| _isExtConstructor | back to summary |
|---|---|
| private boolean _isExtConstructor | |
| _isStatic | back to summary |
|---|---|
| private boolean _isStatic | |
| _namespace_format | back to summary |
|---|---|
| private int _namespace_format | |
| _thisArgument | back to summary |
|---|---|
| pack-priv Expression _thisArgument Stores reference to object for non-static Java calls | |
| EMPTY_ARG_LIST | back to summary |
|---|---|
| private static final List<Expression> EMPTY_ARG_LIST | |
| EXSLT_COMMON | back to summary |
|---|---|
| protected static final String EXSLT_COMMON | |
| EXSLT_DATETIME | back to summary |
|---|---|
| protected static final String EXSLT_DATETIME | |
| EXSLT_MATH | back to summary |
|---|---|
| protected static final String EXSLT_MATH | |
| EXSLT_SETS | back to summary |
|---|---|
| protected static final String EXSLT_SETS | |
| EXSLT_STRINGS | back to summary |
|---|---|
| protected static final String EXSLT_STRINGS | |
| EXT_XALAN | back to summary |
|---|---|
| protected static final String EXT_XALAN | |
| EXT_XSLTC | back to summary |
|---|---|
| protected static final String EXT_XSLTC | |
| EXTENSIONFUNCTION | back to summary |
|---|---|
| private static final Map<String, String> EXTENSIONFUNCTION | |
| EXTENSIONNAMESPACE | back to summary |
|---|---|
| private static final Map<String, String> EXTENSIONNAMESPACE | |
| JAVA2INTERNAL | back to summary |
|---|---|
| private static final Map<Class<?>, Type> JAVA2INTERNAL | |
| JAVA_EXT_XALAN | back to summary |
|---|---|
| protected static final String JAVA_EXT_XALAN | |
| JAVA_EXT_XALAN_OLD | back to summary |
|---|---|
| protected static final String JAVA_EXT_XALAN_OLD | |
| JAVA_EXT_XSLTC | back to summary |
|---|---|
| protected static final String JAVA_EXT_XSLTC | |
| NAMESPACE_FORMAT_CLASS | back to summary |
|---|---|
| protected static final int NAMESPACE_FORMAT_CLASS | |
| NAMESPACE_FORMAT_CLASS_OR_PACKAGE | back to summary |
|---|---|
| protected static final int NAMESPACE_FORMAT_CLASS_OR_PACKAGE | |
| NAMESPACE_FORMAT_JAVA | back to summary |
|---|---|
| protected static final int NAMESPACE_FORMAT_JAVA | |
| NAMESPACE_FORMAT_PACKAGE | back to summary |
|---|---|
| protected static final int NAMESPACE_FORMAT_PACKAGE | |
| unresolvedExternal | back to summary |
|---|---|
| private boolean unresolvedExternal | |
| XALAN_CLASSPACKAGE_NAMESPACE | back to summary |
|---|---|
| protected static final String XALAN_CLASSPACKAGE_NAMESPACE | |
| FunctionCall | back to summary |
|---|---|
| public FunctionCall(QName fname, List<Expression> arguments) | |
| FunctionCall | back to summary |
|---|---|
| public FunctionCall(QName fname) | |
| argument | back to summary |
|---|---|
| protected final Expression argument(int i) | |
| argument | back to summary |
|---|---|
| protected final Expression argument() | |
| argumentCount | back to summary |
|---|---|
| protected final int argumentCount() | |
| findConstructors | back to summary |
|---|---|
| private List Returns a vector with all constructors named | |
| findMethods | back to summary |
|---|---|
| private List Returns a vector with all methods named | |
| generateAddReads | back to summary |
|---|---|
| private void generateAddReads(ClassGenerator classGen, MethodGenerator methodGen, String clazz) | |
| getClassNameFromUri | back to summary |
|---|---|
| public String getClassNameFromUri(String uri) | |
| getMethodSignature | back to summary |
|---|---|
| private String getMethodSignature(List<Type> argsType) Return the signature of the current method | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getSignature | back to summary |
|---|---|
| pack-priv static final String getSignature(Class<?> clazz) Compute the JVM signature for the class. | |
| getSignature | back to summary |
|---|---|
| pack-priv static final String getSignature(Method meth) Compute the JVM method descriptor for the method. | |
| getSignature | back to summary |
|---|---|
| pack-priv static final String getSignature(Constructor<?> cons) Compute the JVM constructor descriptor for the constructor. | |
| isExtension | back to summary |
|---|---|
| public boolean isExtension() | |
| isStandard | back to summary |
|---|---|
| public boolean isStandard() | |
| replaceDash | back to summary |
|---|---|
| protected static String replaceDash(String name) To support EXSLT extensions, convert names with dash to allowable Java names: e.g., convert abc-xyz to abcXyz. Note dashes only appear in middle of an EXSLT function or element name. | |
| setArgument | back to summary |
|---|---|
| protected final void setArgument(int i, Expression exp) | |
| setParser | back to summary |
|---|---|
| public void setParser(Parser parser) Overrides com. Doc from com. Set this node's parser. The parser (the XSLT parser) gives this syntax tree node access to the symbol table and XPath parser.
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translate a function call. The compiled code will leave the function's return value on the JVM's stack.
| |
| translateDesynthesized | back to summary |
|---|---|
| public void translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Compile the function call and treat as an expression Update true/false-lists.
| |
| translateUnallowedExtension | back to summary |
|---|---|
| private void translateUnallowedExtension(ConstantPoolGen cpg, InstructionList il) Translate code to call the BasisLibrary.unallowed_extensionF(String) method. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Type check a function call. Since different type conversions apply, type checking is different for standard and external (Java) functions.
| |
| typeCheckArgs | back to summary |
|---|---|
| public List Type check the actual arguments of this function call. | |
| typeCheckConstructor | back to summary |
|---|---|
| public Type typeCheckConstructor(SymbolTable stable) throws TypeCheckError | |
| typeCheckExternal | back to summary |
|---|---|
| public Type typeCheckExternal(SymbolTable stable) throws TypeCheckError Type check a call to an external (Java) method.
The method must be static an public, and a legal type conversion
must exist for all its arguments and its return type.
Every method of name | |
| typeCheckStandard | back to summary |
|---|---|
| public Type typeCheckStandard(SymbolTable stable) throws TypeCheckError Type check a call to a standard function. Insert CastExprs when needed. If as a result of the insertion of a CastExpr a type check error is thrown, then catch it and re-throw it with a new "this". | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object query)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| JavaType | back to summary |
|---|---|
| public JavaType(Class<?> type, int distance) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object query) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |