1 28 29 30 package com.opencms.template; 31 32 import org.opencms.file.CmsFile; 33 import org.opencms.file.CmsObject; 34 import org.opencms.main.CmsException; 35 36 import java.io.Writer ; 37 38 import org.w3c.dom.Document ; 39 import org.w3c.dom.Node ; 40 41 50 public interface I_CmsXmlContent extends I_CmsContent { 51 52 57 public Object clone() throws CloneNotSupportedException ; 58 59 63 public String getAbsoluteFilename(); 64 65 70 public String getFilename(); 71 72 76 public String getXmlText(); 77 78 84 public void getXmlText(Writer out); 85 86 93 public void getXmlText(Writer out, Node n); 94 95 101 public String getXmlText(Node n); 102 103 110 public void init(CmsObject cms, CmsFile file) throws CmsException; 111 112 119 public void init(CmsObject cms, String filename) throws CmsException; 120 121 128 public void init(CmsObject cms, Document content, String filename) throws CmsException; 129 130 137 public A_CmsXmlContent readIncludeFile(String filename) throws CmsException; 138 139 143 public void write() throws CmsException; 144 } 145 | Popular Tags |