COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.reference
Class SMLExtensionFunctions

java.lang.Object
  extended by org.eclipse.cosmos.rm.validation.internal.reference.SMLExtensionFunctions

public class SMLExtensionFunctions
extends java.lang.Object

This class provides xslt extension functions. Note this class is specific to the xalan tranform engine


Constructor Summary
SMLExtensionFunctions()
           
 
Method Summary
 java.lang.Object deref(org.w3c.dom.NodeList nl)
          SML deref function
 java.lang.Object deref(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMLExtensionFunctions

public SMLExtensionFunctions()
Method Detail

deref

public java.lang.Object deref(org.w3c.dom.NodeList nl)
                       throws javax.xml.xpath.XPathFunctionException
SML deref function

Parameters:
context - - contains xpah context information such as the current node
nl - - the list node that is passed as a parameter to the function
Returns:
a node list
Throws:
javax.xml.xpath.XPathFunctionException

deref

public java.lang.Object deref(java.lang.String expression)
                       throws javax.xml.xpath.XPathFunctionException
Throws:
javax.xml.xpath.XPathFunctionException

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification