1 19 package org.enhydra.zeus; 20 21 31 public class UnmarshalledObject { 32 33 34 protected Object object; 35 36 37 protected String systemID; 38 39 40 protected String publicID; 41 42 54 public UnmarshalledObject(Object object, String publicID, String systemID) { 55 if (object == null) { 57 throw new IllegalArgumentException ("An UnmarshalledObject cannot " + 58 "have a null internal Object reference."); 59 } 60 61 this.object = object; 62 this.systemID = systemID; 63 this.publicID = publicID; 64 } 65 66 74 public UnmarshalledObject(Object object) { 75 this(object, null, null); 76 } 77 78 85 public Object getObject() { 86 return object; 87 } 88 89 98 public String getSystemID() { 99 return systemID; 100 } 101 102 111 public String getPublicID() { 112 return publicID; 113 } 114 } 115 | Popular Tags |