1 5 6 7 package com.hp.hpl.jena.graph; 8 9 import com.hp.hpl.jena.shared.PrefixMapping; 10 11 16 17 public class Node_ANY extends Node_Fluid 18 { 19 Node_ANY() { super( "" ); } 20 21 22 public boolean equals( Object other ) 23 { return other instanceof Node_ANY; } 24 25 public Object visitWith( NodeVisitor v ) 26 { return v.visitAny( this ); } 27 28 public boolean matches( Node other ) 29 { return other != null; } 30 31 public String toString() 32 { return "ANY"; } 33 34 public String toString( PrefixMapping pm, boolean quoting ) 35 { return "ANY"; } 36 } 37 38 64 | Popular Tags |