Package gnu.kawa.xml
Class CoerceNodes
- java.lang.Object
-
- gnu.mapping.PropertySet
-
- gnu.mapping.Procedure
-
- gnu.mapping.Procedure1
-
- gnu.kawa.xml.CoerceNodes
-
- All Implemented Interfaces:
Inlineable
,Named
public class CoerceNodes extends Procedure1 implements Inlineable
Coerces an item sequence to a node sequence. Uses the Nodes class to do the actual work.
-
-
Field Summary
Fields Modifier and Type Field Description static CoerceNodes
coerceNodes
static Method
makeNodesMethod
static ClassType
typeNodes
-
Fields inherited from class gnu.mapping.Procedure1
applyToObject
-
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
-
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
-
Constructor Summary
Constructors Constructor Description CoerceNodes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply1(Object values)
void
compile(ApplyExp exp, Compilation comp, Target target)
Type
getReturnType(Expression[] args)
Semi-deprecated - instead should be set at Inline time.-
Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgs
-
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
-
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
-
-
-
Field Detail
-
coerceNodes
public static final CoerceNodes coerceNodes
-
typeNodes
public static final ClassType typeNodes
-
makeNodesMethod
public static final Method makeNodesMethod
-
-
Method Detail
-
apply1
public Object apply1(Object values)
- Specified by:
apply1
in classProcedure1
-
compile
public void compile(ApplyExp exp, Compilation comp, Target target)
- Specified by:
compile
in interfaceInlineable
-
getReturnType
public Type getReturnType(Expression[] args)
Description copied from class:Procedure
Semi-deprecated - instead should be set at Inline time. FIXME- Overrides:
getReturnType
in classProcedure
-
-