public abstract class Expression extends java.lang.Object implements IdentityComparable, ExportAgent
Two expressions are considered equal if they return the same result when evaluated in the same context.
Expressions manage their own subexpressions but must observe certain conventions when doing so. Every expression must implement the methods operands() and getOperand(N) to access the operands of the expression; here N is an integer identifier for the subexpression which is unique among the subexpressions and whose allocation is a matter for each expression to determined. So a subexpression of an expression can change (during optimization rewrite, for example), then (a) the expression must implement the method setOperandExpression(N, expr) to effect the change, and (b) calling this method must cause a call on adoptChildExpression(N, expr) which is implemented in the expression class itself, and takes responsibility for maintaining the consistency of the tree, e.g. by invalidating cached information.
The default implementations of methods such as operands() work for expressions that have no subexpressions.
Modifier and Type | Field and Description |
---|---|
static int |
EFFECTIVE_BOOLEAN_VALUE |
static int |
EVALUATE_METHOD |
static int |
ITEM_FEED_METHOD |
static int |
ITERATE_METHOD |
static IntegerValue |
MAX_SEQUENCE_LENGTH |
static IntegerValue |
MAX_STRING_LENGTH |
static int |
PROCESS_METHOD |
protected int |
staticProperties |
static IntegerValue |
UNBOUNDED_LOWER |
static IntegerValue |
UNBOUNDED_UPPER |
static int |
UPDATE_METHOD |
static int |
WATCH_METHOD |
Constructor and Description |
---|
Expression() |
Modifier and Type | Method and Description |
---|---|
PathMap.PathMapNodeSet |
addToPathMap(PathMap pathMap,
PathMap.PathMapNodeSet pathMapNodeSet)
Add a representation of this expression to a PathMap.
|
void |
adoptChildExpression(Expression child)
Set up a parent-child relationship between this expression and a given child expression.
|
boolean |
allowExtractingCommonSubexpressions()
Ask whether common subexpressions found in the operands of this expression can
be extracted and evaluated outside the expression itself.
|
java.lang.Iterable<Operand> |
checkedOperands()
Get the immediate sub-expressions of this expression, verifying that the parent pointers
in the child expressions are correct.
|
void |
checkForUpdatingSubexpressions()
Check to ensure that this expression does not contain any inappropriate updating subexpressions.
|
void |
checkPermittedContents(SchemaType parentType,
boolean whole)
Check that any elements and attributes constructed or returned by this expression are acceptable
in the content model of a given complex type.
|
protected abstract int |
computeCardinality()
Compute the static cardinality of this expression
|
int |
computeDependencies()
Compute the dependencies of an expression, as the union of the
dependencies of its subexpressions.
|
int |
computeHashCode() |
protected int |
computeSpecialProperties()
Compute the special properties of this expression.
|
void |
computeStaticProperties()
Compute the static properties.
|
abstract Expression |
copy(RebindingMap rebindings)
Copy an expression.
|
protected void |
dynamicError(java.lang.String message,
java.lang.String code,
XPathContext context)
Method used in subclasses to signal a dynamic error
|
boolean |
effectiveBooleanValue(XPathContext context)
Get the effective boolean value of the expression.
|
java.lang.CharSequence |
evaluateAsString(XPathContext context)
Evaluate an expression as a String.
|
Item |
evaluateItem(XPathContext context)
Evaluate an expression as a single item.
|
void |
evaluatePendingUpdates(XPathContext context,
PendingUpdateList pul)
Evaluate an updating expression, adding the results to a Pending Update List.
|
void |
explain(Logger out)
Diagnostic print of expression structure.
|
abstract void |
export(ExpressionPresenter out)
Diagnostic print of expression structure.
|
int |
getCardinality()
Determine the static cardinality of the expression.
|
Configuration |
getConfiguration()
Get the configuration containing this expression
|
int |
getConstructType()
Get the type of this expression for use in tracing and diagnostics
|
int |
getCost()
Return the estimated cost of evaluating an expression.
|
int |
getDependencies()
Determine which aspects of the context the expression depends on.
|
int |
getEvaluationMethod() |
java.lang.String |
getExpressionName()
Get a name identifying the kind of expression, in terms meaningful to a user.
|
java.lang.Object |
getExtraProperty(java.lang.String name)
Get the value of an extra property on the expression
|
abstract int |
getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
IntegerValue[] |
getIntegerBounds()
For an expression that returns an integer or a sequence of integers, get
a lower and upper bound on the values of the integers that may be returned, from
static analysis.
|
Expression |
getInterpretedExpression()
Get the interpreted form of the expression.
|
int |
getIntrinsicDependencies()
Determine the intrinsic dependencies of an expression, that is, those which are not derived
from the dependencies of its subexpressions.
|
abstract ItemType |
getItemType()
Determine the static item type of the expression, as precisely possible.
|
RetainedStaticContext |
getLocalRetainedStaticContext() |
Location |
getLocation()
Get the location of the expression
|
int |
getNetCost()
Return the net cost of evaluating this expression, excluding the cost of evaluating
its operands.
|
StructuredQName |
getObjectName() |
PackageData |
getPackageData()
Get information about the containing package
|
Expression |
getParentExpression()
Get the parent expression of this expression in the expression tree.
|
java.util.Iterator<java.lang.String> |
getProperties()
Get an iterator over all the properties available.
|
java.lang.Object |
getProperty(java.lang.String name) |
RetainedStaticContext |
getRetainedStaticContext()
Get the retained static context of the expression
|
Expression |
getScopingExpression()
Get the innermost scoping expression of this expression, for expressions that directly
depend on something in the dynamic context.
|
int[] |
getSlotsUsed()
Get the local variables (identified by their slot numbers) on which this expression depends.
|
int |
getSpecialProperties()
Get the static properties of this expression (other than its type).
|
java.net.URI |
getStaticBaseURI()
Get the saved static base URI as a URI
|
java.lang.String |
getStaticBaseURIString()
Get the saved static base URI as a string
|
SequenceType |
getStaticType()
Get the static type of the expression as a SequenceType
|
UType |
getStaticUType(UType contextItemType)
Get the static type of the expression as a UType, following precisely the type
inference rules defined in the XSLT 3.0 specification.
|
java.lang.String |
getStreamerName()
Get the (partial) name of a class that supports streaming of this kind of expression
|
protected boolean |
hasCompatibleStaticContext(Expression other) |
int |
hashCode() |
boolean |
hasVariableBinding(Binding binding)
Ask whether this expression is, or contains, the binding of a given variable
|
int |
identityHashCode()
Get a hashCode that offers the guarantee that if A.isIdentical(B), then A.identityHashCode() == B.identityHashCode()
|
boolean |
implementsStaticTypeCheck()
Determine whether this expression implements its own method for static type checking
|
boolean |
isCallOn(java.lang.Class<? extends SystemFunction> function)
Ask whether this expression is a call on a particular function
|
boolean |
isCallOnSystemFunction(java.lang.String localName)
Ask whether this expression is a call on a particular function
|
boolean |
isIdentical(IdentityComparable other)
Determine whether two IdentityComparable objects are identical.
|
boolean |
isInstruction()
Ask whether this expression is an instruction.
|
boolean |
isLiftable(boolean forStreaming)
Ask whether the expression can be lifted out of a loop, assuming it has no dependencies
on the controlling variable/focus of the loop
|
boolean |
isMultiThreaded(Configuration config)
Ask whether the expression is multithreaded (that is, whether its operands are
evaluated in parallel)
|
boolean |
isSameExpression(Expression other) |
boolean |
isStaticPropertiesKnown()
Ask whether the static properties of the expression have been computed
|
boolean |
isSubtreeExpression()
Determine whether the expression can be evaluated without reference to the part of the context
document outside the subtree rooted at the context node.
|
boolean |
isUpdatingExpression()
Determine whether this is an updating expression as defined in the XQuery update specification
|
boolean |
isVacuousExpression()
Determine whether this is a vacuous expression as defined in the XQuery update specification
|
SequenceIterator |
iterate(XPathContext context)
Return an Iterator to iterate over the values of a sequence.
|
int |
markTailFunctionCalls(StructuredQName qName,
int arity)
Mark tail-recursive calls on stylesheet functions.
|
protected java.util.List<Operand> |
operandList(Operand... a)
Helper method for subclasses to build a list of operands
|
java.lang.Iterable<Operand> |
operands()
Get the immediate sub-expressions of this expression, with information about the relationship
of each expression to its parent expression.
|
protected java.util.List<Operand> |
operandSparseList(Operand... a)
Helper method for subclasses to build a list of operands
|
Expression |
optimize(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo)
Perform optimisation of an expression and its subexpressions.
|
protected void |
optimizeChildren(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo)
Perform optimization of the children of this expression (and their children, recursively)
This method is provided as a helper for implementations of the
optimize(net.sf.saxon.expr.parser.ExpressionVisitor, net.sf.saxon.expr.parser.ContextItemStaticInfo)
method, since optimizing the children is an inevitable part of optimizing the expression itself |
void |
process(XPathContext context)
Process the instruction, without returning any tail calls
|
void |
resetLocalStaticProperties()
Reset the static properties of the expression to -1, so that they have to be recomputed
next time they are used.
|
void |
restoreParentPointers()
Restore parent pointers for the subtree rooted at this expression
|
void |
setEvaluationMethod(int method) |
void |
setExtraProperty(java.lang.String name,
java.lang.Object value)
Set an extra property on the expression.
|
void |
setFiltered(boolean filtered)
Mark an expression as filtered: that is, it appears as the base expression in a filter expression.
|
void |
setFlattened(boolean flattened)
Mark an expression as being "flattened".
|
void |
setLocation(Location id)
Set the location on an expression.
|
void |
setParentExpression(Expression parent)
Set the parent expression of this expression in the expression tree.
|
void |
setRetainedStaticContext(RetainedStaticContext rsc)
Set the retained static context
|
void |
setRetainedStaticContextLocally(RetainedStaticContext rsc)
Set the parts of the static context that might be needed by the function, without
passing them on to subexpressions.
|
void |
setRetainedStaticContextThoroughly(RetainedStaticContext rsc)
Set the retained static context on this expression and on all subexpressions in the expression tree.
|
void |
setStaticProperty(int prop)
Set a static property on an expression.
|
Expression |
simplify()
Simplify an expression.
|
protected void |
simplifyChildren()
Simplify this expression.
|
Expression |
staticTypeCheck(SequenceType req,
boolean backwardsCompatible,
RoleDiagnostic role,
ExpressionVisitor visitor)
Static type checking of some expressions is delegated to the expression itself, by calling
this method.
|
void |
suppressValidation(int parentValidationMode)
Suppress validation on contained element constructors, on the grounds that the parent element
is already performing validation.
|
Pattern |
toPattern(Configuration config,
boolean is30)
Convert this expression to an equivalent XSLT pattern
|
java.lang.String |
toShortString()
Produce a short string identifying the expression for use in error messages
|
java.lang.String |
toString()
The toString() method for an expression attempts to give a representation of the expression
in an XPath-like form.
|
Expression |
typeCheck(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo)
Perform type checking of an expression and its subexpressions.
|
protected void |
typeCheckChildren(ExpressionVisitor visitor,
ContextItemStaticInfo contextInfo)
Perform type checking of the children of this expression (and their children, recursively)
This method is provided as a helper for implementations of the
typeCheck(net.sf.saxon.expr.parser.ExpressionVisitor, net.sf.saxon.expr.parser.ContextItemStaticInfo)
method, since checking the children is an inevitable part of checking the expression itse.f |
protected void |
typeError(java.lang.String message,
java.lang.String errorCode,
XPathContext context)
Method used in subclasses to signal a runtime type error
|
Expression |
unordered(boolean retainAllNodes,
boolean forStreaming)
Replace this expression by a simpler expression that delivers the results without regard
to order.
|
Expression |
verifyParentPointers()
Verify that parent pointers are correct throughout the subtree rooted at this expression
|
void |
verifyParentPointers(java.lang.String message) |
public static final int EVALUATE_METHOD
public static final int ITERATE_METHOD
public static final int PROCESS_METHOD
public static final int WATCH_METHOD
public static final int ITEM_FEED_METHOD
public static final int EFFECTIVE_BOOLEAN_VALUE
public static final int UPDATE_METHOD
protected int staticProperties
public static final IntegerValue UNBOUNDED_LOWER
public static final IntegerValue UNBOUNDED_UPPER
public static final IntegerValue MAX_STRING_LENGTH
public static final IntegerValue MAX_SEQUENCE_LENGTH
public java.lang.String getExpressionName()
public java.lang.Iterable<Operand> operands()
If the expression is a Callable, then it is required that the order of the operands returned by this function is the same as the order of arguments supplied to the corresponding call() method.
public Expression getInterpretedExpression()
public final java.lang.Iterable<Operand> checkedOperands()
operands()
method,
but with additional checkingprotected java.util.List<Operand> operandList(Operand... a)
a
- the sequence of operands (which must all be non-null)protected java.util.List<Operand> operandSparseList(Operand... a)
a
- the sequence of operands; any null values in the list are ignoredpublic Expression getParentExpression()
public void setParentExpression(Expression parent)
parent
- the parent expressionpublic Expression verifyParentPointers() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if invalid parent pointers are foundpublic void verifyParentPointers(java.lang.String message)
public void restoreParentPointers()
public abstract int getImplementationMethod()
ITERATE_METHOD
or EVALUATE_METHOD
or
PROCESS_METHOD
public boolean implementsStaticTypeCheck()
public boolean hasVariableBinding(Binding binding)
binding
- the variable bindingpublic boolean isLiftable(boolean forStreaming)
forStreaming
- true if the expression is being optimized for streamingpublic Expression getScopingExpression()
public boolean isMultiThreaded(Configuration config)
config
- the Saxon configurationpublic boolean allowExtractingCommonSubexpressions()
public Expression simplify() throws XPathException
XPathException
- if an error is discovered during expression
rewritingprotected final void simplifyChildren() throws XPathException
XPathException
- if an error is discovered during expression
rewritingpublic void setRetainedStaticContext(RetainedStaticContext rsc)
rsc
- the static context to be retainedpublic void setRetainedStaticContextThoroughly(RetainedStaticContext rsc)
rsc
- the static context to be retainedpublic void setRetainedStaticContextLocally(RetainedStaticContext rsc)
public final RetainedStaticContext getRetainedStaticContext()
public RetainedStaticContext getLocalRetainedStaticContext()
public java.lang.String getStaticBaseURIString()
public java.net.URI getStaticBaseURI() throws XPathException
XPathException
public boolean isCallOn(java.lang.Class<? extends SystemFunction> function)
function
- the implementation class of the function in questionpublic boolean isCallOnSystemFunction(java.lang.String localName)
localName
- the name of the function in question, in the standard fn namespacepublic Expression typeCheck(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo) throws XPathException
This checks statically that the operands of the expression have the correct type; if necessary it generates code to do run-time type checking or type conversion. A static type error is reported only if execution cannot possibly succeed, that is, if a run-time type error is inevitable. The call may return a modified form of the expression.
This method is called after all references to functions and variables have been resolved to the declaration of the function or variable. However, the types of such functions and variables may not be accurately known if they have not been explicitly declared.
visitor
- an expression visitorcontextInfo
- Information available statically about the context item: whether it is (possibly)
absent; its static type; its streaming posture.XPathException
- if an error is discovered during this phase
(typically a type error)protected final void typeCheckChildren(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo) throws XPathException
typeCheck(net.sf.saxon.expr.parser.ExpressionVisitor, net.sf.saxon.expr.parser.ContextItemStaticInfo)
method, since checking the children is an inevitable part of checking the expression itse.fvisitor
- an expression visitorcontextInfo
- Information available statically about the context item: whether it is (possibly)
absent; its static type; its streaming posture.XPathException
- if an error is discovered during this phase
(typically a type error)public Expression staticTypeCheck(SequenceType req, boolean backwardsCompatible, RoleDiagnostic role, ExpressionVisitor visitor) throws XPathException
req
- the required typebackwardsCompatible
- true if backwards compatibility mode appliesrole
- the role of the expression in relation to the required typevisitor
- an expression visitorXPathException
- if failures occur, for example if the static type of one branch of the conditional
is incompatible with the required typepublic Expression optimize(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo) throws XPathException
This method is called after all references to functions and variables have been resolved to the declaration of the function or variable, and after all type checking has been done.
visitor
- an expression visitorcontextInfo
- the static type of "." at the point where this expression is invoked.
The parameter is set to null if it is known statically that the context item will be undefined.
If the type of the context item is not known statically, the argument is set to
Type.ITEM_TYPE
XPathException
- if an error is discovered during this phase
(typically a type error)protected final void optimizeChildren(ExpressionVisitor visitor, ContextItemStaticInfo contextInfo) throws XPathException
optimize(net.sf.saxon.expr.parser.ExpressionVisitor, net.sf.saxon.expr.parser.ContextItemStaticInfo)
method, since optimizing the children is an inevitable part of optimizing the expression itselfvisitor
- an expression visitorcontextInfo
- Information available statically about the context item: whether it is (possibly)
absent; its static type; its streaming posture.XPathException
- if an error is discovered during this phase
(typically a type error)public int getCost()
public int getNetCost()
public Expression unordered(boolean retainAllNodes, boolean forStreaming) throws XPathException
retainAllNodes
- set to true if the result must contain exactly the same nodes as the
original; set to false if the result can eliminate (or introduce) duplicates.forStreaming
- set to true if the result is to be optimized for streamingXPathException
- if the rewrite failspublic final int getSpecialProperties()
public int getCardinality()
public abstract ItemType getItemType()
This method should always return a result, though it may be the best approximation that is available at the time.
public SequenceType getStaticType()
public UType getStaticUType(UType contextItemType)
contextItemType
- the static type of the context itempublic int getDependencies()
public IntegerValue[] getIntegerBounds()
public void setFlattened(boolean flattened)
flattened
- set to true if the result of the expression is atomized or otherwise turned into
an atomic valuepublic void setFiltered(boolean filtered)
filtered
- if true, marks this expression as the base of a filter expressionpublic Item evaluateItem(XPathContext context) throws XPathException
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic SequenceIterator iterate(XPathContext context) throws XPathException
context
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expressionpublic boolean effectiveBooleanValue(XPathContext context) throws XPathException
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic java.lang.CharSequence evaluateAsString(XPathContext context) throws XPathException
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionjava.lang.ClassCastException
- if the result type of the
expression is not xs:string?, xs:untypedAtomic?, or xs:anyURI?public void process(XPathContext context) throws XPathException
context
- The dynamic context, giving access to the current node,
the current variables, etc.XPathException
- if a dynamic error occurspublic void evaluatePendingUpdates(XPathContext context, PendingUpdateList pul) throws XPathException
context
- the XPath dynamic evaluation contextpul
- the pending update list to which the results should be writtenXPathException
- if evaluation failsjava.lang.UnsupportedOperationException
- if the expression is not an updating expressionpublic java.lang.String toString()
The toString() method for an expression attempts to give a representation of the expression in an XPath-like form.
For subclasses of Expression that represent XPath expressions, the result should always be a string that parses as an XPath 3.0 expression. The expression produced should be equivalent to the original making certain assumptions about the static context. In general the expansion will make no assumptions about namespace bindings, except that (a) the prefix "xs" is used to refer to the XML Schema namespace, and (b) the default function namespace is assumed to be the "fn" namespace.
In the case of XSLT instructions and XQuery expressions, the toString() method gives an abstracted view of the syntax that is not designed in general to be parseable.
toString
in class java.lang.Object
public java.lang.String toShortString()
public abstract void export(ExpressionPresenter out) throws XPathException
export
in interface ExportAgent
out
- the expression presenter used to display the structureXPathException
- if the export fails, for example if an expression is found that won't work
in the target environment.public final void explain(Logger out)
out
- the expression presenter used to display the structurepublic void checkPermittedContents(SchemaType parentType, boolean whole) throws XPathException
parentType
- the "given complex type": the method is checking that the nodes returned by this
expression are acceptable members of the content model of this typewhole
- if true, we want to check that the value of this expression satisfies the content model
as a whole; if false we want to check that the value of the expression is acceptable as one part
of the contentXPathException
- if the value delivered by this expression cannot be part of the content model
of the given typepublic void adoptChildExpression(Expression child)
child
- the child expressionpublic void setLocation(Location id)
id
- the locationpublic final Location getLocation()
public Configuration getConfiguration()
public PackageData getPackageData()
public boolean isInstruction()
public final void computeStaticProperties()
public void resetLocalStaticProperties()
public boolean isStaticPropertiesKnown()
protected abstract int computeCardinality()
StaticProperty.ALLOWS_ZERO_OR_ONE
,
StaticProperty.EXACTLY_ONE
, StaticProperty.ALLOWS_ONE_OR_MORE
,
StaticProperty.ALLOWS_ZERO_OR_MORE
protected int computeSpecialProperties()
StaticProperty
. The "special" properties are properties
other than cardinality and dependencies, and most of them relate to properties of node sequences, for
example whether the nodes are in document order.public int computeDependencies()
public int getIntrinsicDependencies()
public void setStaticProperty(int prop)
prop
- the property to be setpublic void checkForUpdatingSubexpressions() throws XPathException
XPathException
- if the expression has a non-permitted updating subexpressionpublic boolean isUpdatingExpression()
public boolean isVacuousExpression()
public abstract Expression copy(RebindingMap rebindings)
rebindings
- a mutable list of (old binding, new binding) pairs
that is used to update the bindings held in any
local variable references that are copied.public void suppressValidation(int parentValidationMode)
parentValidationMode
- the kind of validation being performed on the parent expressionpublic int markTailFunctionCalls(StructuredQName qName, int arity)
qName
- the name of the functionarity
- the arity (number of parameters) of the functionUserFunctionCall.NOT_TAIL_CALL
if no tail call was found;
UserFunctionCall.FOREIGN_TAIL_CALL
if a tail call on a different function was found;public Pattern toPattern(Configuration config, boolean is30) throws XPathException
config
- the Saxon configurationis30
- true if this is XSLT 3.0XPathException
- if conversion is not possiblepublic final int[] getSlotsUsed()
protected void dynamicError(java.lang.String message, java.lang.String code, XPathContext context) throws XPathException
message
- the error messagecode
- the error codecontext
- the XPath dynamic contextXPathException
- always thrown, to signal a dynamic errorprotected void typeError(java.lang.String message, java.lang.String errorCode, XPathContext context) throws XPathException
message
- the error messageerrorCode
- the error codecontext
- the XPath dynamic contextXPathException
- always thrown, to signal a dynamic errorpublic int getConstructType()
LocationKind
public StructuredQName getObjectName()
public java.lang.Object getProperty(java.lang.String name)
public java.util.Iterator<java.lang.String> getProperties()
public PathMap.PathMapNodeSet addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
The default implementation of this method assumes that an expression does no navigation other than the navigation done by evaluating its subexpressions, and that the subexpressions are evaluated in the same context as the containing expression. The method must be overridden for any expression where these assumptions do not hold. For example, implementations exist for AxisExpression, ParentExpression, and RootExpression (because they perform navigation), and for the doc(), document(), and collection() functions because they create a new navigation root. Implementations also exist for PathExpression and FilterExpression because they have subexpressions that are evaluated in a different context from the calling expression.
pathMap
- the PathMap to which the expression should be addedpathMapNodeSet
- the PathMapNodeSet to which the paths embodied in this expression should be addedpublic boolean isSubtreeExpression()
public void setEvaluationMethod(int method)
public int getEvaluationMethod()
public boolean isIdentical(IdentityComparable other)
isIdentical
in interface IdentityComparable
other
- the value to be compared withpublic int identityHashCode()
identityHashCode
in interface IdentityComparable
public int hashCode()
hashCode
in class java.lang.Object
public int computeHashCode()
public boolean isSameExpression(Expression other)
protected boolean hasCompatibleStaticContext(Expression other)
public void setExtraProperty(java.lang.String name, java.lang.Object value)
name
- the name of the propertyvalue
- the value of the property, or null to remove the propertypublic java.lang.Object getExtraProperty(java.lang.String name)
name
- the name of the propertypublic java.lang.String getStreamerName()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.