Lines Matching defs:handler
74 private ElementHandler handler;
77 * Creates new instance of document handler.
134 * when handler catches recoverable exceptions.
147 * when handler catches recoverable exceptions.
156 * Returns the owner of this document handler.
158 * @return the owner of this document handler
165 * Sets the owner of this document handler.
167 * @param owner the owner of this document handler
174 * Returns the handler for the element with specified name.
177 * @return the corresponding element handler
188 * Sets the handler for the element with specified name.
191 * @param handler the corresponding element handler
193 public void setElementHandler(String name, Class<? extends ElementHandler> handler) {
194 this.handlers.put(name, handler);
258 * Prepares this handler to read objects from XML document.
263 this.handler = null;
268 * using corresponding element handler.
282 ElementHandler parent = this.handler;
284 this.handler =
286 this.handler.setOwner(this);
287 this.handler.setParent(parent);
296 this.handler.addAttribute(name, value);
302 this.handler.startElement();
307 * using corresponding element handler.
320 this.handler.endElement();
326 this.handler = this.handler.getParent();
339 if (this.handler != null) {
342 this.handler.addCharacter(chars[start++]);