View Javadoc

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  /**
29   * <b>IXspfAnythingMixedChoice</b> is generated from xspf.rng by Relaxer.
30   * Concrete classes of the interface are XspfAnythingAnyAttr and 
31   * XspfAnythingAnyElement.
32   * <p>
33   * @version xspf.rng (Wed Sep 27 17:36:25 EDT 2006)
34   * @author  Relaxer 1.1b (http://www.relaxer.org)
35   * @author Emil A. Lefkof III <info@melloware.com>
36   */
37  public interface IXspfAnythingMixedChoice
38      extends IXspfAnythingMixed {
39  
40      /**
41       * @param value
42       */
43      void setContent(String value);
44  
45      /**
46       * @param value
47       */
48      void setContentByString(String value);
49  
50      /**
51       * Makes an XML text representation.
52       *
53       * @param buffer
54       */
55      void makeTextAttribute(StringBuffer buffer);
56  
57      /**
58       * Makes an XML text representation.
59       *
60       * @param buffer
61       * @exception IOException
62       */
63      void makeTextAttribute(Writer buffer)
64                      throws IOException;
65  
66      /**
67       * Makes an XML text representation.
68       *
69       * @param buffer
70       */
71      void makeTextAttribute(PrintWriter buffer);
72  
73      /**
74       * @return String
75       */
76      String makeTextDocument();
77  
78      /**
79       * Makes an XML text representation.
80       *
81       * @param buffer
82       */
83      void makeTextElement(StringBuffer buffer);
84  
85      /**
86       * Makes an XML text representation.
87       *
88       * @param buffer
89       * @exception IOException
90       */
91      void makeTextElement(Writer buffer)
92                    throws IOException;
93  
94      /**
95       * Makes an XML text representation.
96       *
97       * @param buffer
98       */
99      void makeTextElement(PrintWriter buffer);
100 }