24 |
import java.net.URI; |
import java.net.URI; |
25 |
import java.net.URISyntaxException; |
import java.net.URISyntaxException; |
26 |
|
|
27 |
|
import javax.xml.namespace.QName; |
28 |
|
|
29 |
|
import nongnu.cashews.xml.Xmlizable; |
30 |
|
|
31 |
/** |
/** |
32 |
* Represents the connection between two performances, which provides |
* Represents the connection between two performances, which provides |
33 |
* the necessary data flow from one to the other. The output of |
* the necessary data flow from one to the other. The output of |
36 |
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
37 |
*/ |
*/ |
38 |
public class Connection |
public class Connection |
39 |
implements MultiPerformElement |
implements MultiPerformElement, Xmlizable |
40 |
{ |
{ |
41 |
|
|
42 |
/** |
/** |
43 |
|
* Serialization ID. |
44 |
|
*/ |
45 |
|
private static final long serialVersionUID = -664689479913445752L; |
46 |
|
|
47 |
|
/** |
48 |
* The performance from which the output comes. |
* The performance from which the output comes. |
49 |
* |
* |
50 |
* @serial the source performance. |
* @serial the source performance. |
123 |
toPerformance = name; |
toPerformance = name; |
124 |
} |
} |
125 |
|
|
126 |
|
/** |
127 |
|
* Returns "connect" as the element name for XML serialization. |
128 |
|
* |
129 |
|
* @return <code>connect</code> |
130 |
|
*/ |
131 |
|
public String getElementName() |
132 |
|
{ |
133 |
|
return "connect"; |
134 |
|
} |
135 |
|
|
136 |
|
/** |
137 |
|
* Returns null as this class needs no further namespace declarations. |
138 |
|
* |
139 |
|
* @return <code>null</code>. |
140 |
|
*/ |
141 |
|
public QName[] getDeclaredNamespaces() |
142 |
|
{ |
143 |
|
return null; |
144 |
|
} |
145 |
|
|
146 |
} |
} |