1 package org.xmldb.api.modules; 2 3 55 import org.xmldb.api.base.*; 56 57 import org.w3c.dom.*; 58 import org.xml.sax.*; 59 60 72 public interface XMLResource extends Resource { 73 public static final String RESOURCE_TYPE = "XMLResource"; 74 75 83 Node getContentAsDOM() throws XMLDBException; 84 85 98 void setContentAsDOM(Node content) throws XMLDBException; 99 100 112 void getContentAsSAX(ContentHandler handler) throws XMLDBException; 113 114 124 ContentHandler setContentAsSAX() throws XMLDBException; 125 126 } 127 128 | Popular Tags |