1 23 24 package org.enhydra.xml.xmlc; 25 26 import org.enhydra.xml.io.DocumentInfo; 27 import org.w3c.dom.DOMException ; 28 import org.w3c.dom.Document ; 29 import org.w3c.dom.Node ; 30 31 34 public interface XMLObject extends Document , DocumentInfo { 35 41 public static final String XMLC_GENERATED_CLASS_FIELD_NAME 42 = "XMLC_GENERATED_CLASS"; 43 44 51 public static final String XMLC_SOURCE_FILE_FIELD_NAME 52 = "XMLC_SOURCE_FILE"; 53 54 60 public void buildDocument(); 61 62 72 public void setDelegate(XMLObject delegate); 73 74 79 public void syncAccessMethods(); 80 81 85 public XMLObject getDelegate(); 86 87 92 public Document getDocument(); 93 94 98 public String getMIMEType(); 99 100 110 public String getEncoding(); 111 112 115 public void setEncoding(String encoding); 116 117 120 public boolean getStandalone(); 121 122 125 public void setStandalone(boolean standalone); 126 127 130 public boolean getStrictErrorChecking(); 131 132 135 public void setStrictErrorChecking(boolean strictErrorChecking); 136 137 140 public String getVersion(); 141 142 145 public void setVersion(String version); 146 147 150 public Node adoptNode(Node source) throws DOMException ; 151 152 164 public String toDocument(); 165 } 166 | Popular Tags |