001
014
015 package com.liferay.portal.kernel.xml;
016
017 import java.io.IOException;
018
019
022 public interface Document extends Branch {
023
024 public Document addComment(String comment);
025
026 public Document addDocType(String name, String publicId, String systemId);
027
028 public String formattedString() throws IOException;
029
030 public String formattedString(String indent) throws IOException;
031
032 public String formattedString(String indent, boolean expandEmptyElements)
033 throws IOException;
034
035 public Element getRootElement();
036
037 public String getXMLEncoding();
038
039 public void setRootElement(Element rootElement);
040
041 public void setXMLEncoding(String encoding);
042
043 }