1 /**
2 * JSpiff
3 * -----------------
4 * Copyright (c) 2005-2006 Emil A. Lefkof III
5 *
6 * I always give it my best shot to make a program useful and solid, but
7 * remeber that there is absolutely no warranty for using this program as
8 * stated in the following terms:
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 */
22 package com.melloware.jspiff.jaxp;
23
24 import java.io.IOException;
25 import java.io.PrintWriter;
26 import java.io.Writer;
27
28 import org.w3c.dom.Node;
29
30 /**
31 * <b>IXspfExtensionMixed</b> is generated from xspf.rng by Relaxer.
32 * Concrete classes of the interface are RString and XspfExtensionAnyElement.
33 * <p>
34 * @version xspf.rng (Wed Sep 27 17:36:25 EDT 2006)
35 * @author Relaxer 1.1b (http://www.relaxer.org)
36 * @author Emil A. Lefkof III <info@melloware.com>
37 */
38 public interface IXspfExtensionMixed {
39
40 /**
41 * @return Object
42 */
43 Object clone();
44
45 /**
46 * Creates a DOM representation of the object.
47 * Result is appended to the Node <code>parent</code>.
48 *
49 * @param parent
50 */
51 void makeElement(Node parent);
52
53 /**
54 * Makes an XML text representation.
55 *
56 * @param buffer
57 */
58 void makeTextAttribute(StringBuffer buffer);
59
60 /**
61 * Makes an XML text representation.
62 *
63 * @param buffer
64 * @exception IOException
65 */
66 void makeTextAttribute(Writer buffer)
67 throws IOException;
68
69 /**
70 * Makes an XML text representation.
71 *
72 * @param buffer
73 */
74 void makeTextAttribute(PrintWriter buffer);
75
76 /**
77 * Makes an XML text representation.
78 *
79 * @param buffer
80 */
81 void makeTextElement(StringBuffer buffer);
82
83 /**
84 * Makes an XML text representation.
85 *
86 * @param buffer
87 * @exception IOException
88 */
89 void makeTextElement(Writer buffer)
90 throws IOException;
91
92 /**
93 * Makes an XML text representation.
94 *
95 * @param buffer
96 */
97 void makeTextElement(PrintWriter buffer);
98
99 /**
100 * @param stack
101 */
102 void setup(RStack stack);
103
104 /**
105 * @return String
106 */
107 String toString();
108 }