lux.functions
Class DeleteDocument

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

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

function lux:delete($uri as xs:string) as empty-sequence()

This function deletes a document from the index at the given uri. If the special uti value "lux:/" is passed, all documents are deleted.

See Also:
Serialized Form

Constructor Summary
DeleteDocument()
           
 
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

DeleteDocument

public DeleteDocument()
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.