1 31 32 package com.hp.hpl.jena.rdf.model.impl; 33 34 import com.hp.hpl.jena.rdf.model.*; 35 36 import com.hp.hpl.jena.graph.*; 37 import com.hp.hpl.jena.enhanced.*; 38 39 44 public class BagImpl extends ContainerImpl implements Bag { 45 46 final static public Implementation factory = new Implementation() { 47 public boolean canWrap( Node n, EnhGraph eg ) 48 { return true; } 49 public EnhNode wrap(Node n,EnhGraph eg) { 50 return new BagImpl(n,eg); 51 } 52 }; 53 54 55 public BagImpl( ModelCom model ) { 56 super(model); 57 } 58 59 public BagImpl( String uri, ModelCom model ) { 60 super(uri, model); 61 } 62 63 public BagImpl( Resource r, ModelCom m ) { 64 super( r, m ); 65 } 66 67 public BagImpl( Node n, EnhGraph g ) { 68 super(n,g); 69 } 70 71 72 } | Popular Tags |