Package net.sf.saxon.expr
Interface ExportAgent
-
- All Known Implementing Classes:
AdjacentTextNodeMerger,AnalyzeString,AncestorQualifiedPattern,AnchorPattern,AndExpression,ApplyImports,ApplyNextMatchingTemplate,ApplyTemplates,ArithmeticExpression,ArithmeticExpression10,Assignation,AtomicSequenceConverter,Atomizer,AttributeCreator,AttributeGetter,AxisExpression,BasePatternWithPredicate,BinaryExpression,Block,BooleanExpression,BooleanExpressionPattern,BreakInstr,CallTemplate,CardinalityChecker,CastableExpression,CastExpression,CastingExpression,Choose,Comment,CompareToConstant,CompareToIntegerConstant,CompareToStringConstant,ComponentTracer,ComputedAttribute,ComputedElement,ConditionalBlock,ConditionalSorter,ConsumingOperand,ContextItemExpression,Copy,CopyOf,CurrentGroupCall,CurrentGroupingKeyCall,CurrentItemExpression,DefaultedArgumentExpression,DefaultedArgumentExpression.DefaultCollationArgument,Doctype,DocumentInstr,DocumentSorter,DynamicFunctionCall,EagerLetExpression,ElementCreator,EmptyTextNodeRemover,EquivalenceComparison,ErrorExpression,EvaluateInstr,ExceptPattern,Expression,FilterExpression,FirstItemExpression,FixedAttribute,FixedElement,FLWORExpression,ForEach,ForEachGroup,ForExpression,Fork,ForMemberExpression,FunctionCall,FunctionLiteral,FunctionLookup.FunctionLookupExportAgent,FunctionSequenceCoercer,GeneralComparison,GeneralComparison10,GeneralComparison20,GeneralNodePattern,GeneralPositionalPattern,GlobalVariableReference,HomogeneityChecker,IdentityComparison,InstanceOfExpression,Instruction,IntegerRangeTest,IntegratedFunctionCall,IntersectPattern,IsLastExpression,ItemChecker,ItemTypePattern,IterateInstr,JAXPVariableReference,LastItemExpression,LetExpression,Literal,LocalParam,LocalParamBlock,LocalVariableReference,LookupAllExpression,LookupExpression,MergeInstr,MessageInstr,NamespaceConstructor,NegateExpression,NextIteration,NextMatch,NodeSetPattern,NodeTestPattern,NumberInstruction,NumberSequenceFormatter,OnEmptyExpr,OnNonEmptyExpr,OrExpression,OuterForExpression,ParentNodeConstructor,PartialApply,Pattern,PatternThatSetsCurrent,ProcessingInstruction,PseudoExpression,QuantifiedExpression,RangeExpression,ResultDocument,RootExpression,SequenceInstr,SimpleExpression,SimpleNodeConstructor,SimplePositionalPattern,SimpleStepExpression,SingleItemFilter,SingletonAtomizer,SingletonIntersectExpression,SlashExpression,SortExpression,SortKeyDefinition,SortKeyDefinitionList,SourceDocument,SQLConnect.ConnectInstruction,SquareArrayConstructor,StaticFunctionCall,StreamingFunctionArgumentPattern,StringLiteral,SubscriptExpression,SuppliedParameterReference,SystemFunctionCall,SystemFunctionCall.Optimized,TailCallLoop,TailExpression,TraceExpression,TryCatch,TupleExpression,UnaryExpression,UnionPattern,UniversalPattern,UntypedSequenceConverter,UseAttributeSet,UserFunctionCall,UserFunctionReference,ValueComparison,ValueOf,VariableReference,VennExpression,VennPattern,WherePopulated,XPathFunctionCall
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ExportAgentAn export agent performs the job of exporting an expression to a SEF file. Normally the expression itself acts as its own export agent, and includes an export() method to do the exporting. In a few cases, notably literals containing function items, extra machinery is required to export a value, and aUserFunctionReference.BoundUserFunctionin particular includes custom export methods to handle different cases.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexport(ExpressionPresenter out)Diagnostic print of expression structure.
-
-
-
Method Detail
-
export
void export(ExpressionPresenter out) throws XPathException
Diagnostic print of expression structure. The abstract expression tree is written to the supplied output destination.- Parameters:
out- the expression presenter used to display the structure- Throws:
XPathException- if the export fails, for example if an expression is found that won't work in the target environment.
-
-