Class TypeOfFunction

  • All Implemented Interfaces:
    org.jaxen.Function

    @Deprecated
    public class TypeOfFunction
    extends java.lang.Object
    implements org.jaxen.Function
    Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeOfFunction()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.Object call​(org.jaxen.Context context, java.util.List args)
      Deprecated.
       
      static void registerSelfInSimpleContext()
      Deprecated.
       
      static boolean typeof​(net.sourceforge.pmd.lang.ast.Node n, java.lang.String nodeTypeName, java.lang.String fullTypeName, java.lang.String shortTypeName)
      Deprecated.
      Example XPath 1.0: //ClassOrInterfaceType[typeof(@Image, 'java.lang.String', 'String')]
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypeOfFunction

        public TypeOfFunction()
        Deprecated.
    • Method Detail

      • registerSelfInSimpleContext

        public static void registerSelfInSimpleContext()
        Deprecated.
      • call

        public java.lang.Object call​(org.jaxen.Context context,
                                     java.util.List args)
                              throws org.jaxen.FunctionCallException
        Deprecated.
        Specified by:
        call in interface org.jaxen.Function
        Throws:
        org.jaxen.FunctionCallException
      • typeof

        public static boolean typeof​(net.sourceforge.pmd.lang.ast.Node n,
                                     java.lang.String nodeTypeName,
                                     java.lang.String fullTypeName,
                                     java.lang.String shortTypeName)
        Deprecated.
        Example XPath 1.0: //ClassOrInterfaceType[typeof(@Image, 'java.lang.String', 'String')]

        Example XPath 2.0: //ClassOrInterfaceType[pmd-java:typeof(@Image, 'java.lang.String', 'String')]

        Parameters:
        n -
        nodeTypeName - Usually the @Image attribute of the node
        fullTypeName - The fully qualified name of the class or any supertype
        shortTypeName - The simple class name, might be null
        Returns: