1 6 7 package com.hp.hpl.jena.graph; 8 9 import com.hp.hpl.jena.rdf.model.*; 10 11 15 16 public class Node_Blank extends Node_Concrete 17 { 18 Node_Blank( Object id ) { super( id ); } 19 20 public boolean isBlank() { return true; } 21 22 public AnonId getBlankNodeId() { return (AnonId) label; } 23 24 public Object visitWith( NodeVisitor v ) 25 { return v.visitBlank( this, (AnonId) label ); } 26 27 public boolean equals( Object other ) 28 { return other instanceof Node_Blank && label.equals( ((Node_Blank) other).label ); } 29 } 30 31 60 | Popular Tags |