9899100101102103104105
public void evEndDocument() throws XQueryException { try { output.writeByte(EV_END_DOC); } catch (IOException e) { throw new DynamicError("failed on evEndDocument", e); } }
110111112113114115116117
output.writeByte(EV_START_ELEM); writeString(output, prefix); writeString(output, localName); writeString(output, namespaceURI); } catch (IOException e) { throw new DynamicError("failed on evStartElement", e); } }
122123124125126127128129
output.writeByte(EV_END_ELEM); writeString(output, prefix); writeString(output, localName); writeString(output, namespaceURI); } catch (IOException e) { throw new DynamicError("failed on evEndElement", e); } }
132133134135136137138139
try { output.writeByte(EV_ATTR); qname.writeExternal(output); writeString(output, value); } catch (IOException e) { throw new DynamicError("failed on evAttribute", e); } }
142143144145146147148149
try { output.writeByte(EV_NAMESPACE); writeString(output, prefix); writeString(output, uri); } catch (IOException e) { throw new DynamicError("failed on evNamespace", e); } }
155156157158159160161162
int end = start + length; for(int i = start; i < end; i++) { output.writeChar(ch[i]); } } catch (IOException e) { throw new DynamicError("failed on evText", e); } }
168169170171172173174175
int end = start + length; for(int i = start; i < end; i++) { output.writeChar(ch[i]); } } catch (IOException e) { throw new DynamicError("failed on evCData", e); } }
181182183184185186187188
int end = start + length; for(int i = start; i < end; i++) { output.writeChar(ch[i]); } } catch (IOException e) { throw new DynamicError("failed on evComment", e); } }
191192193194195196197198
try { output.writeByte(EV_PI); writeString(output, target); writeString(output, data); } catch (IOException e) { throw new DynamicError("failed on evProcessingInstruction", e); } }
102103104105106107108109110111
} else { final String sv = DoubleType.DOUBLE.processWhitespace(it.stringValue()); if(StringUtils.isNumber(sv)) { d = Double.parseDouble(sv); } else { throw new DynamicError("err:FORG0001", "Illegal value for xs:double: " + sv); } } return d; }