|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.ozacc.mail.xml.impl.XMLBuilderImpl
public class XMLBuilderImpl
JDK 1.4以降の標準XMLライブラリを使用して実装されたXMLBuilder。
コンストラクタの概要 | |
---|---|
XMLBuilderImpl()
コンストラクタ。 |
|
XMLBuilderImpl(String charset)
コンストラクタ。 |
メソッドの概要 | |
---|---|
Document |
buildDocument(Mail mail)
指定されたMailインスタンスからXMLドキュメントを生成します。 |
static Document |
createNewDocument()
|
String |
getCharset()
出力XMLファイルの文字コードを返します。 |
void |
saveDocument(Mail mail,
File destFile)
指定されたMailインスタンスからXMLドキュメントを生成し、 指定されたファイルに保存します。 |
void |
setCharset(String charset)
出力XMLファイルの文字コードを指定します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public XMLBuilderImpl()
public XMLBuilderImpl(String charset)
charset
- 出力XMLファイルの文字コードメソッドの詳細 |
---|
public String getCharset()
public void setCharset(String charset)
charset
- 出力XMLファイルの文字コードpublic Document buildDocument(Mail mail) throws XMLBuildException
XMLBuilder
の記述:
XMLBuilder
内の buildDocument
XMLBuildException
XMLBuilder.buildDocument(com.ozacc.mail.Mail)
public static Document createNewDocument() throws FactoryConfigurationError
FactoryConfigurationError
public void saveDocument(Mail mail, File destFile) throws XMLBuildException
XMLBuilder
内の saveDocument
destFile
- MailデータXMLの保存先ファイル
XMLBuildException
XMLBuilder.saveDocument(com.ozacc.mail.Mail, java.io.File)
,
TransformerFactory
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |