1 28 29 package com.caucho.xml; 30 31 import com.caucho.vfs.WriteStream; 32 33 import org.w3c.dom.Node ; 34 35 import java.io.IOException ; 36 37 44 public interface CauchoNode extends Node { 45 public String getNamespaceURI(); 47 public String getPrefix(); 48 public String getLocalName(); 49 50 55 public String getCanonicalName(); 56 57 60 public String getTextValue(); 61 62 65 public String getFilename(); 66 67 70 public String getBaseURI(); 71 72 75 public int getLine(); 76 77 80 public int getColumn(); 81 84 public void setLocation(String systemId, String filename, 85 int line, int column); 86 87 90 public void print(WriteStream os) throws IOException ; 91 92 95 public void printPretty(WriteStream os) throws IOException ; 96 97 100 public void printHtml(WriteStream os) throws IOException ; 101 102 105 public boolean checkValid() throws Exception ; 106 } 107 | Popular Tags |