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 |
|
|
|
|
| 41.7% |
Uncovered Elements: 14 (24) |
Complexity: 11 |
Complexity Density: 0.79 |
|
22 |
|
public class Filter implements java.io.Serializable |
23 |
|
{ |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
private java.lang.String _featureType; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
private jalview.schemabinding.version2.MatcherSet _matcherSet; |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
6 |
public Filter()... |
44 |
|
{ |
45 |
6 |
super(); |
46 |
|
} |
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
@return |
56 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
12 |
public java.lang.String getFeatureType()... |
58 |
|
{ |
59 |
12 |
return this._featureType; |
60 |
|
} |
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
@return |
66 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
12 |
public jalview.schemabinding.version2.MatcherSet getMatcherSet()... |
68 |
|
{ |
69 |
12 |
return this._matcherSet; |
70 |
|
} |
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
@return |
76 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 2 |
Complexity Density: 0.5 |
|
77 |
0 |
public boolean isValid()... |
78 |
|
{ |
79 |
0 |
try |
80 |
|
{ |
81 |
0 |
validate(); |
82 |
|
} catch (org.exolab.castor.xml.ValidationException vex) |
83 |
|
{ |
84 |
0 |
return false; |
85 |
|
} |
86 |
0 |
return true; |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
@param |
93 |
|
@throws |
94 |
|
|
95 |
|
|
96 |
|
@throws |
97 |
|
|
98 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
99 |
0 |
public void marshal(final java.io.Writer out)... |
100 |
|
throws org.exolab.castor.xml.MarshalException, |
101 |
|
org.exolab.castor.xml.ValidationException |
102 |
|
{ |
103 |
0 |
Marshaller.marshal(this, out); |
104 |
|
} |
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
@param |
110 |
|
@throws |
111 |
|
|
112 |
|
@throws |
113 |
|
|
114 |
|
@throws |
115 |
|
|
116 |
|
|
117 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
118 |
0 |
public void marshal(final org.xml.sax.ContentHandler handler)... |
119 |
|
throws java.io.IOException, |
120 |
|
org.exolab.castor.xml.MarshalException, |
121 |
|
org.exolab.castor.xml.ValidationException |
122 |
|
{ |
123 |
0 |
Marshaller.marshal(this, handler); |
124 |
|
} |
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
@param |
130 |
|
|
131 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
132 |
6 |
public void setFeatureType(final java.lang.String featureType)... |
133 |
|
{ |
134 |
6 |
this._featureType = featureType; |
135 |
|
} |
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
@param |
141 |
|
|
142 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
143 |
6 |
public void setMatcherSet(... |
144 |
|
final jalview.schemabinding.version2.MatcherSet matcherSet) |
145 |
|
{ |
146 |
6 |
this._matcherSet = matcherSet; |
147 |
|
} |
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
@param |
153 |
|
@throws |
154 |
|
|
155 |
|
|
156 |
|
@throws |
157 |
|
|
158 |
|
@return |
159 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
160 |
0 |
public static jalview.schemabinding.version2.Filter unmarshal(... |
161 |
|
final java.io.Reader reader) |
162 |
|
throws org.exolab.castor.xml.MarshalException, |
163 |
|
org.exolab.castor.xml.ValidationException |
164 |
|
{ |
165 |
0 |
return (jalview.schemabinding.version2.Filter) Unmarshaller |
166 |
|
.unmarshal(jalview.schemabinding.version2.Filter.class, reader); |
167 |
|
} |
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
@throws |
173 |
|
|
174 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
175 |
0 |
public void validate() throws org.exolab.castor.xml.ValidationException... |
176 |
|
{ |
177 |
0 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); |
178 |
0 |
validator.validate(this); |
179 |
|
} |
180 |
|
|
181 |
|
} |