Lines Matching defs:obj
98 public void writeTo(Object obj, String mimeType, OutputStream os)
101 if (!(obj instanceof DataSource || obj instanceof Source || obj instanceof String)) {
102 throw new IOException("Invalid Object type = "+obj.getClass()+
113 if (obj instanceof String) {
114 String s = (String) obj;
124 Source source = (obj instanceof DataSource)
125 ? (Source)getContent((DataSource)obj) : (Source)obj;