org.netbeans.modules.bpel.model.api.support
Class BpelXpathExtFunctionResolver

java.lang.Object
  extended by org.netbeans.modules.bpel.model.api.support.BpelXpathExtFunctionResolver
All Implemented Interfaces:
BpelXPathExtFunctionMetadata, org.netbeans.modules.xml.xpath.ext.spi.ExtensionFunctionResolver

public class BpelXpathExtFunctionResolver
extends java.lang.Object
implements org.netbeans.modules.xml.xpath.ext.spi.ExtensionFunctionResolver, BpelXPathExtFunctionMetadata

Provides information about BPEL extension functions for XPath. TODO: It's necessary to figure out which functions are still required. Only 2 functions are described in the BPEL specification

Author:
nk160297

Field Summary
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.support.BpelXPathExtFunctionMetadata
CURRENT_DATE_METADATA, CURRENT_DATE_TIME_METADATA, CURRENT_TIME_METADATA, DO_MARSHAL_METADATA, DO_UNMARSHAL_METADATA, DO_XSL_TRANSFORM_METADATA, EXIST_METADATA, GET_BPID_METADATA, GET_GUID_METADATA, GET_VARIABLE_PROPERTY_METADATA, IMAGE_FOLDER_NAME, SUN_EXT_FUNC_NS
 
Constructor Summary
BpelXpathExtFunctionResolver()
           
 
Method Summary
 org.netbeans.modules.xml.xpath.ext.metadata.ExtFunctionMetadata getFunctionMetadata(javax.xml.namespace.QName name)
           
 java.util.Collection<javax.xml.namespace.QName> getSupportedExtFunctions()
           
 org.netbeans.modules.xml.xpath.ext.XPathExtensionFunction newInstance(org.netbeans.modules.xml.xpath.ext.XPathModel model, javax.xml.namespace.QName name)
           
 void validateFunction(org.netbeans.modules.xml.xpath.ext.XPathExtensionFunction function, org.netbeans.modules.xml.xpath.ext.spi.validation.XPathValidationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpelXpathExtFunctionResolver

public BpelXpathExtFunctionResolver()
Method Detail

getFunctionMetadata

public org.netbeans.modules.xml.xpath.ext.metadata.ExtFunctionMetadata getFunctionMetadata(javax.xml.namespace.QName name)
Specified by:
getFunctionMetadata in interface org.netbeans.modules.xml.xpath.ext.spi.ExtensionFunctionResolver

getSupportedExtFunctions

public java.util.Collection<javax.xml.namespace.QName> getSupportedExtFunctions()
Specified by:
getSupportedExtFunctions in interface org.netbeans.modules.xml.xpath.ext.spi.ExtensionFunctionResolver

newInstance

public org.netbeans.modules.xml.xpath.ext.XPathExtensionFunction newInstance(org.netbeans.modules.xml.xpath.ext.XPathModel model,
                                                                             javax.xml.namespace.QName name)
Specified by:
newInstance in interface org.netbeans.modules.xml.xpath.ext.spi.ExtensionFunctionResolver

validateFunction

public void validateFunction(org.netbeans.modules.xml.xpath.ext.XPathExtensionFunction function,
                             org.netbeans.modules.xml.xpath.ext.spi.validation.XPathValidationContext context)
Specified by:
validateFunction in interface org.netbeans.modules.xml.xpath.ext.spi.ExtensionFunctionResolver