01: /*
02: * Copyright (c) 2001, Jacob Smullyan.
03: *
04: * This is part of SkunkDAV, a WebDAV client. See http://skunkdav.sourceforge.net/
05: * for the latest version.
06: *
07: * SkunkDAV is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU General Public License as published
09: * by the Free Software Foundation; either version 2, or (at your option)
10: * any later version.
11: *
12: * SkunkDAV is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with SkunkDAV; see the file COPYING. If not, write to the Free
19: * Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20: * 02111-1307, USA.
21: */
22:
23: package org.skunk.minixml;
24:
25: public class XMLPInstruction {
26: private String instruction;
27:
28: public XMLPInstruction(String instruction) {
29: this .instruction = instruction;
30: }
31:
32: public String toString() {
33: return "<?" + instruction + "?>";
34: }
35: }
36:
37: /* $Log: XMLPInstruction.java,v $
38: /* Revision 1.3 2001/07/17 03:00:04 smulloni
39: /* added XMLCData class to represent CDATA, and fixed CDATA parsing, which was
40: /* wrong in any case; added license preambles where I had forgotten to put them.
41: /*
42: /* Revision 1.2 2000/11/09 23:35:12 smullyan
43: /* log added to every Java file, with the help of python. Lock stealing
44: /* implemented, and treatment of locks made more robust.
45: /* */
|