Package com.saxonica.functions.qt4
Class URIFunctions
- java.lang.Object
-
- net.sf.saxon.functions.AbstractFunction
-
- net.sf.saxon.functions.SystemFunction
-
- com.saxonica.functions.qt4.URIFunctions
-
- All Implemented Interfaces:
Callable
,FunctionItem
,GroundedValue
,Item
,Sequence
public abstract class URIFunctions extends SystemFunction
Common declarations for BuildURI and ParseURI.
-
-
Field Summary
Fields Modifier and Type Field Description protected static AtomicValue
ALLOW_DEPRECATED_FEATURES
protected boolean
allowDeprecatedFeatures
protected static AtomicValue
AUTHORITY
protected static java.util.HashMap<java.lang.String,java.lang.String>
defaultPorts
protected static AtomicValue
FILEPATH
protected static AtomicValue
FRAGMENT
protected boolean
hierarchical
protected static AtomicValue
HIERARCHICAL
protected static java.util.HashSet<java.lang.String>
hierarchicalSchemes
protected static AtomicValue
HOST
protected static AtomicValue
KEY
protected static java.util.HashSet<java.lang.String>
nonHierarchicalSchemes
protected static AtomicValue
OMIT_DEFAULT_PORTS
protected boolean
omitDefaultPorts
protected static AtomicValue
PATH
protected static AtomicValue
PATH_SEGMENTS
protected static AtomicValue
PATH_SEPARATOR
protected char
pathSeparator
protected static AtomicValue
PORT
protected static AtomicValue
QUERY
protected static AtomicValue
QUERY_PARAMETERS
protected static AtomicValue
QUERY_SEPARATOR
protected char
querySeparator
protected static AtomicValue
SCHEME
protected static AtomicValue
UNC_PATH
protected boolean
uncPath
protected static java.util.Set<java.lang.Character>
unescapedUriCharacters
protected static AtomicValue
URI
protected static AtomicValue
USERINFO
protected static AtomicValue
VALUE
-
Constructor Summary
Constructors Constructor Description URIFunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkOptions(Sequence[] arguments)
protected java.lang.String
encodeFragmentIdentifier(GroundedValue value)
protected java.lang.String
encodePathSegment(GroundedValue value)
protected java.lang.String
encodeQueryPart(GroundedValue value)
Expression
makeFunctionCall(Expression... arguments)
Make an expression that either calls this function, or that is equivalent to a call on this function-
Methods inherited from class net.sf.saxon.functions.SystemFunction
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getContextNode, getDescription, getDetails, getElaborator, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamerName, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeFunction40, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
-
Methods inherited from class net.sf.saxon.functions.AbstractFunction
atomize, deepEqual40, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheck
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.FunctionItem
getGenre
-
Methods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materialize
-
Methods inherited from interface net.sf.saxon.om.Item
getLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence
-
Methods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
-
-
-
Field Detail
-
hierarchicalSchemes
protected static java.util.HashSet<java.lang.String> hierarchicalSchemes
-
nonHierarchicalSchemes
protected static java.util.HashSet<java.lang.String> nonHierarchicalSchemes
-
defaultPorts
protected static java.util.HashMap<java.lang.String,java.lang.String> defaultPorts
-
URI
protected static final AtomicValue URI
-
PATH_SEPARATOR
protected static final AtomicValue PATH_SEPARATOR
-
QUERY_SEPARATOR
protected static final AtomicValue QUERY_SEPARATOR
-
ALLOW_DEPRECATED_FEATURES
protected static final AtomicValue ALLOW_DEPRECATED_FEATURES
-
OMIT_DEFAULT_PORTS
protected static final AtomicValue OMIT_DEFAULT_PORTS
-
UNC_PATH
protected static final AtomicValue UNC_PATH
-
SCHEME
protected static final AtomicValue SCHEME
-
AUTHORITY
protected static final AtomicValue AUTHORITY
-
USERINFO
protected static final AtomicValue USERINFO
-
HOST
protected static final AtomicValue HOST
-
PORT
protected static final AtomicValue PORT
-
PATH
protected static final AtomicValue PATH
-
FILEPATH
protected static final AtomicValue FILEPATH
-
PATH_SEGMENTS
protected static final AtomicValue PATH_SEGMENTS
-
QUERY_PARAMETERS
protected static final AtomicValue QUERY_PARAMETERS
-
QUERY
protected static final AtomicValue QUERY
-
KEY
protected static final AtomicValue KEY
-
VALUE
protected static final AtomicValue VALUE
-
FRAGMENT
protected static final AtomicValue FRAGMENT
-
HIERARCHICAL
protected static final AtomicValue HIERARCHICAL
-
unescapedUriCharacters
protected static final java.util.Set<java.lang.Character> unescapedUriCharacters
-
pathSeparator
protected char pathSeparator
-
querySeparator
protected char querySeparator
-
allowDeprecatedFeatures
protected boolean allowDeprecatedFeatures
-
omitDefaultPorts
protected boolean omitDefaultPorts
-
hierarchical
protected boolean hierarchical
-
uncPath
protected boolean uncPath
-
-
Method Detail
-
makeFunctionCall
public Expression makeFunctionCall(Expression... arguments)
Description copied from class:SystemFunction
Make an expression that either calls this function, or that is equivalent to a call on this function- Overrides:
makeFunctionCall
in classSystemFunction
- Parameters:
arguments
- the supplied arguments to the function call- Returns:
- either a function call on this function, or an expression that delivers the same result
-
checkOptions
protected void checkOptions(Sequence[] arguments) throws XPathException
- Throws:
XPathException
-
encodePathSegment
protected java.lang.String encodePathSegment(GroundedValue value) throws XPathException
- Throws:
XPathException
-
encodeQueryPart
protected java.lang.String encodeQueryPart(GroundedValue value) throws XPathException
- Throws:
XPathException
-
encodeFragmentIdentifier
protected java.lang.String encodeFragmentIdentifier(GroundedValue value) throws XPathException
- Throws:
XPathException
-
-