1 /*2 Copyright © 2006 Stefano Chizzolini. http://clown.stefanochizzolini.it3 4 Contributors:5 * Stefano Chizzolini (original code developer, info@stefanochizzolini.it):6 contributed code is Copyright © 2006 by Stefano Chizzolini.7 8 This file should be part of the source code distribution of "PDF Clown library"9 (the Program): see the accompanying README files for more info.10 11 This Program is free software; you can redistribute it and/or modify it under12 the terms of the GNU General Public License as published by the Free Software13 Foundation; either version 2 of the License, or (at your option) any later version.14 15 This Program is distributed in the hope that it will be useful, but WITHOUT ANY16 WARRANTY, either expressed or implied; without even the implied warranty of17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details.18 19 You should have received a copy of the GNU General Public License along with this20 Program (see README files); if not, go to the GNU website (http://www.gnu.org/).21 22 Redistribution and use, with or without modification, are permitted provided that such23 redistributions retain the above copyright notice, license and disclaimer, along with24 this list of conditions.25 */26 27 package it.stefanochizzolini.clown.objects;28 29 import it.stefanochizzolini.clown.files.File;30 31 /**32 PDF indirect object interface.33 */34 public interface IPdfIndirectObject35 {36 // <interface>37 Object clone(38 File context39 );40 41 /**42 Removes the object from its file context.43 <h3>Remarks</h3>44 <p>The object is no more usable after this method returns.</p>45 */46 void delete(47 );48 49 PdfDataObject getDataObject(50 );51 52 PdfIndirectObject getIndirectObject(53 );54 55 PdfReference getReference(56 );57 // </interface>58 }