이 인터페이스는 메모리의 XML 문서를 작성 및 표시하는 메커니즘을 제공합니다.
이 인터페이스는 XML 문서를 빌드하고 표시할 수 있도록 합니다.
다음은 BOXMLDocument 인터페이스의 예입니다.
public interface BOXMLDocument { /** * Returns the root DataObject for the XML Document. * This object is an instance of the root element's type or subtype. * * @return root DataObject for the XMLDocument */ public DataObject getDataObject(); /** * Returns the targetnamespace for the root element and null * if there is no targetnamespace. * @return the targetnamespace URI for the root element. */ public String getRootElementURI(); /** * Returns the name of the root element. * * @return name of the root element. */ public String getRootElementName(); /** * Returns the XML version of the document, or null if not specified. * * @return XML version of the XML Document */ public String getXMLVersion(); /** * Set the XML version of the document, or null if not specified. * * @param xmlVersion XML version of the XML Document */ public void setXMLVersion(String xmlVersion); /** * Returns the XML encoding of the document, or null if not specified. * Default value is UTF-8. * @return Encoding of the XML Document */ public String getEncoding(); /** * Sets the XML encoding of the document, or null if not specified. * * @param encoding encoding used in the XML Document */ public void setEncoding(String encoding);