1 12 13 package org.w3c.dom.ls; 14 15 import org.w3c.dom.Document ; 16 import org.w3c.dom.DOMConfiguration ; 17 import org.w3c.dom.Node ; 18 import org.w3c.dom.DOMException ; 19 20 141 public interface LSParser { 142 257 public DOMConfiguration getDomConfig(); 258 259 270 public LSParserFilter getFilter(); 271 282 public void setFilter(LSParserFilter filter); 283 284 288 public boolean getAsync(); 289 290 294 public boolean getBusy(); 295 296 315 public Document parse(LSInput input) 316 throws DOMException , LSException ; 317 318 339 public Document parseURI(String uri) 340 throws DOMException , LSException ; 341 342 348 public static final short ACTION_APPEND_AS_CHILDREN = 1; 349 355 public static final short ACTION_REPLACE_CHILDREN = 2; 356 362 public static final short ACTION_INSERT_BEFORE = 3; 363 369 public static final short ACTION_INSERT_AFTER = 4; 370 376 public static final short ACTION_REPLACE = 5; 377 378 454 public Node parseWithContext(LSInput input, 455 Node contextArg, 456 short action) 457 throws DOMException , LSException ; 458 459 464 public void abort(); 465 466 } 467 | Popular Tags |