1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
package jalview.schemabinding.version2; |
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
import org.exolab.castor.xml.Marshaller; |
15 |
|
import org.exolab.castor.xml.Unmarshaller; |
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
@version |
21 |
|
|
|
|
| 12.5% |
Uncovered Elements: 14 (16) |
Complexity: 7 |
Complexity Density: 0.7 |
|
22 |
|
public class VamsasModel extends VAMSAS implements java.io.Serializable |
23 |
|
{ |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
29 |
115 |
public VamsasModel()... |
30 |
|
{ |
31 |
115 |
super(); |
32 |
|
} |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
@return |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
43 |
0 |
public boolean isValid()... |
44 |
|
{ |
45 |
0 |
try |
46 |
|
{ |
47 |
0 |
validate(); |
48 |
|
} catch (org.exolab.castor.xml.ValidationException vex) |
49 |
|
{ |
50 |
0 |
return false; |
51 |
|
} |
52 |
0 |
return true; |
53 |
|
} |
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
@param |
59 |
|
@throws |
60 |
|
|
61 |
|
|
62 |
|
@throws |
63 |
|
|
64 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
65 |
0 |
public void marshal(final java.io.Writer out)... |
66 |
|
throws org.exolab.castor.xml.MarshalException, |
67 |
|
org.exolab.castor.xml.ValidationException |
68 |
|
{ |
69 |
0 |
Marshaller.marshal(this, out); |
70 |
|
} |
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
@param |
76 |
|
@throws |
77 |
|
|
78 |
|
@throws |
79 |
|
|
80 |
|
@throws |
81 |
|
|
82 |
|
|
83 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
84 |
0 |
public void marshal(final org.xml.sax.ContentHandler handler)... |
85 |
|
throws java.io.IOException, |
86 |
|
org.exolab.castor.xml.MarshalException, |
87 |
|
org.exolab.castor.xml.ValidationException |
88 |
|
{ |
89 |
0 |
Marshaller.marshal(this, handler); |
90 |
|
} |
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
@param |
96 |
|
@throws |
97 |
|
|
98 |
|
|
99 |
|
@throws |
100 |
|
|
101 |
|
@return |
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0 |
public static jalview.schemabinding.version2.VAMSAS unmarshal(... |
104 |
|
final java.io.Reader reader) |
105 |
|
throws org.exolab.castor.xml.MarshalException, |
106 |
|
org.exolab.castor.xml.ValidationException |
107 |
|
{ |
108 |
0 |
return (jalview.schemabinding.version2.VAMSAS) Unmarshaller.unmarshal( |
109 |
|
jalview.schemabinding.version2.VamsasModel.class, reader); |
110 |
|
} |
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
@throws |
116 |
|
|
117 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
118 |
0 |
public void validate() throws org.exolab.castor.xml.ValidationException... |
119 |
|
{ |
120 |
0 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); |
121 |
0 |
validator.validate(this); |
122 |
|
} |
123 |
|
|
124 |
|
} |