public class GlobalParameterSet
extends java.lang.Object
| Constructor and Description | 
|---|
| GlobalParameterSet()Create an empty parameter set | 
| GlobalParameterSet(GlobalParameterSet parameterSet)Create a parameter set as a copy of an existing parameter set | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Clear all values | 
| boolean | containsKey(StructuredQName qName) | 
| GroundedValue<?> | convertParameterValue(StructuredQName qName,
                     SequenceType requiredType,
                     boolean convert,
                     XPathContext context)Get the value of a parameter, converted to the required type, or checked against the
 required type if no type conversion is in force | 
| GroundedValue<?> | get(StructuredQName qName)Get a parameter | 
| java.util.Collection<StructuredQName> | getKeys()Get all the keys that have been allocated | 
| int | getNumberOfKeys()Get the number of entries in the result of getKeys() that are significant | 
| void | put(StructuredQName qName,
   GroundedValue<?> value)Add a parameter to the ParameterSet | 
public GlobalParameterSet()
public GlobalParameterSet(GlobalParameterSet parameterSet)
parameterSet - the parameter set to be copiedpublic void put(StructuredQName qName, GroundedValue<?> value)
qName - The fingerprint of the parameter name.value - The value of the parameter, or null if the parameter is to be removedpublic GroundedValue<?> get(StructuredQName qName)
qName - The parameter name.public boolean containsKey(StructuredQName qName)
public GroundedValue<?> convertParameterValue(StructuredQName qName, SequenceType requiredType, boolean convert, XPathContext context) throws XPathException
qName - the name of the parameterrequiredType - the required type of the parameterconvert - set to true if function conversion rules are to be applied, or to false if the value
                     is simply to be checked against the required typecontext - dynamic evaluation contextXPathException - if the value is of the wrong typepublic void clear()
public java.util.Collection<StructuredQName> getKeys()
public int getNumberOfKeys()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.