Tries to adopt the given type check. @param st type to check @return true if the check could be adopted, false otherwise
(final SeqType st)
| 197 | * @return {@code true} if the check could be adopted, {@code false} otherwise |
| 198 | */ |
| 199 | public boolean adoptCheck(final SeqType st) { |
| 200 | if(declType != null && !st.instanceOf(declType)) return declType.instanceOf(st); |
| 201 | declType = st; |
| 202 | return true; |
| 203 | } |
| 204 | |
| 205 | @Override |
| 206 | public void toXml(final QueryPlan plan) { |