lux.functions
Class InsertDocument

java.lang.Object
  extended by net.sf.saxon.lib.ExtensionFunctionDefinition
      extended by lux.functions.InsertDocument
All Implemented Interfaces:
Serializable

public class InsertDocument
extends net.sf.saxon.lib.ExtensionFunctionDefinition

function lux:insert-document($uri as xs:string, $node as node()) as empty-sequence()

inserts a document to the index at the given uri. lux:commit() must be called for the result to become visible.

See Also:
Serialized Form

Constructor Summary
InsertDocument()
           
 
Method Summary
 net.sf.saxon.value.SequenceType[] getArgumentTypes()
           
 net.sf.saxon.om.StructuredQName getFunctionQName()
           
 net.sf.saxon.value.SequenceType getResultType(net.sf.saxon.value.SequenceType[] suppliedArgumentTypes)
           
 boolean hasSideEffects()
           
 net.sf.saxon.lib.ExtensionFunctionCall makeCallExpression()
           
 boolean trustResultType()
           
 
Methods inherited from class net.sf.saxon.lib.ExtensionFunctionDefinition
dependsOnFocus, getMaximumNumberOfArguments, getMinimumNumberOfArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertDocument

public InsertDocument()
Method Detail

getFunctionQName

public net.sf.saxon.om.StructuredQName getFunctionQName()
Specified by:
getFunctionQName in class net.sf.saxon.lib.ExtensionFunctionDefinition

getArgumentTypes

public net.sf.saxon.value.SequenceType[] getArgumentTypes()
Specified by:
getArgumentTypes in class net.sf.saxon.lib.ExtensionFunctionDefinition

getResultType

public net.sf.saxon.value.SequenceType getResultType(net.sf.saxon.value.SequenceType[] suppliedArgumentTypes)
Specified by:
getResultType in class net.sf.saxon.lib.ExtensionFunctionDefinition

hasSideEffects

public boolean hasSideEffects()
Overrides:
hasSideEffects in class net.sf.saxon.lib.ExtensionFunctionDefinition

trustResultType

public boolean trustResultType()
Overrides:
trustResultType in class net.sf.saxon.lib.ExtensionFunctionDefinition

makeCallExpression

public net.sf.saxon.lib.ExtensionFunctionCall makeCallExpression()
Specified by:
makeCallExpression in class net.sf.saxon.lib.ExtensionFunctionDefinition


Copyright © 2013. All Rights Reserved.