org.jaxen.Function@Deprecated
public class TypeOfFunction
extends java.lang.Object
implements org.jaxen.Function
| Constructor | Description |
|---|---|
TypeOfFunction() |
Deprecated.
|
| 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')] |
public static void registerSelfInSimpleContext()
public java.lang.Object call(org.jaxen.Context context,
java.util.List args)
throws org.jaxen.FunctionCallException
call in interface org.jaxen.Functionorg.jaxen.FunctionCallExceptionpublic static boolean typeof(net.sourceforge.pmd.lang.ast.Node n,
java.lang.String nodeTypeName,
java.lang.String fullTypeName,
java.lang.String shortTypeName)
//ClassOrInterfaceType[typeof(@Image, 'java.lang.String', 'String')]
Example XPath 2.0: //ClassOrInterfaceType[pmd-java:typeof(@Image, 'java.lang.String', 'String')]
n - nodeTypeName - Usually the @Image attribute of the nodefullTypeName - The fully qualified name of the class or any supertypeshortTypeName - The simple class name, might be nullCopyright © 2002–2018 PMD. All rights reserved.