6263646566676869
// This will serialise the DOM to WBSAX events. try { serialiser.serialise(parser.getDocument()); } catch (WBDOMException e) { throw new WBSAXException(e); } }
126127128129130131132133134135
public void addAttribute(AttributeStartCode start) throws WBSAXException { try { body.write(start.getInteger()); } catch (IOException ioe) { throw new WBSAXException( exceptionLocalizer.format("wbsax-write-error"), ioe); } }
151152153154155156157158159160
throws WBSAXException { try { body.write(GlobalToken.STR_T); body.write(part.resolvePhysicalIndex().getBytes()); } catch (IOException ioe) { throw new WBSAXException( exceptionLocalizer.format("wbsax-write-error"), ioe); } }
170171172173174175176177178179
throws WBSAXException { try { body.write(GlobalToken.STR_I); body.write(part.getBytes()); } catch (IOException ioe) { throw new WBSAXException( exceptionLocalizer.format("wbsax-write-error"), ioe); } }
188189190191192193194195196197
public void addAttributeValue(AttributeValueCode valuePart) throws WBSAXException { try { body.write(valuePart.getInteger()); } catch (IOException ioe) { throw new WBSAXException( exceptionLocalizer.format("wbsax-write-error"), ioe); } }
207208209210211212213214215216
throws WBSAXException { try { body.write(GlobalToken.ENTITY); body.write(entity.getBytes()); } catch (IOException ioe) { throw new WBSAXException( exceptionLocalizer.format("wbsax-write-error"), ioe); } }
218219220221222223224225226227
public void addAttributeValueOpaque(OpaqueValue part) throws WBSAXException { try { body.write(part.getBytes()); } catch (IOException ioe) { throw new WBSAXException( exceptionLocalizer.format("wbsax-write-error"), ioe); } }
275276277278279280281282283284
294295296297298299300301302303
313314315316317318319320321322323
throws WBSAXException { try { body.write(GlobalToken.ENTITY); body.write(entity.getBytes()); } catch (IOException e) { throw new WBSAXException( exceptionLocalizer.format( "wbsax-ioexception-unexpected"), e); } }