1 6 7 package com.hp.hpl.jena.graph.impl; 8 9 import com.hp.hpl.jena.graph.*; 10 import com.hp.hpl.jena.shared.ReificationStyle; 11 import com.hp.hpl.jena.util.iterator.ExtendedIterator; 12 13 18 public class WrappedReifier implements Reifier 19 { 20 private Reifier base; 21 private Graph parent; 22 25 public WrappedReifier( Reifier base, Graph parent ) 26 { this.base = base; this.parent = parent; } 27 28 31 public ReificationStyle getStyle() { return base.getStyle(); } 32 35 public Graph getParentGraph() { return parent; } 36 37 public ExtendedIterator find( TripleMatch m ) { return base.find( m ); } 38 39 public ExtendedIterator findExposed( TripleMatch m ) { return base.findExposed( m ); } 40 41 public ExtendedIterator findEither( TripleMatch m, boolean showHidden ) 42 { return base.findEither( m, showHidden ); } 43 44 public int size() { return base.size(); } 45 46 49 public Node reifyAs( Node n, Triple t ) { return base.reifyAs( n, t ); } 50 51 54 public boolean hasTriple( Node n ) { return base.hasTriple( n ); } 55 56 59 public boolean hasTriple( Triple t ) { return base.hasTriple( t ); } 60 61 64 public ExtendedIterator allNodes() { return base.allNodes(); } 65 66 69 public ExtendedIterator allNodes( Triple t ) { return base.allNodes( t ); } 70 73 public void remove( Node n, Triple t ) { base.remove( n, t ); } 74 75 78 public void remove( Triple t ) { base.remove( t ); } 79 82 public boolean handledAdd( Triple t ) { return base.handledAdd( t ); } 83 84 87 public boolean handledRemove( Triple t ) { return base.handledRemove( t ); } 88 89 92 public Triple getTriple( Node n ) { return base.getTriple( n ); } 93 94 97 public void close() { base.close(); } 98 99 } 100 101 | Popular Tags |