1 61 62 package org.jaxen.pattern; 63 64 import org.jaxen.Context; 65 66 71 public class NoNodeTest extends NodeTest { 72 73 private static NoNodeTest instance = new NoNodeTest(); 74 75 public static NoNodeTest getInstance() 76 { 77 return instance; 78 } 79 80 public NoNodeTest() 81 { 82 } 83 84 86 public boolean matches( Object node, Context context ) 87 { 88 return false; 89 } 90 91 public double getPriority() 92 { 93 return -0.5; 94 } 95 96 public short getMatchType() 97 { 98 return NO_NODE; 99 } 100 101 public String getText() 102 { 103 return ""; 104 } 105 } 106 | Popular Tags |