|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.ozacc.mail.impl.AbstractXMLMailBuilder
public abstract class AbstractXMLMailBuilder
XMLMailBuilder実装が継承する基底クラス。
フィールドの概要 | |
---|---|
protected Map |
documentBuilderCache
|
コンストラクタの概要 | |
---|---|
AbstractXMLMailBuilder()
コンストラクタ。 |
メソッドの概要 | |
---|---|
protected DocumentBuilder |
createDocumentBuilder()
DocumentBuilderインスタンスを生成します。 |
protected DocumentBuilder |
createDocumentBuilder(boolean ignoreComment)
DocumentBuilderインスタンスを生成します。 |
protected Document |
getDocumentFromClassPath(String classPath)
指定されたクラスパスのXMLファイルを読み込み、DOM Documentを生成します。 |
protected Document |
getDocumentFromClassPath(String classPath,
boolean ignoreComment)
指定されたクラスパスのXMLファイルを読み込み、DOM Documentを生成します。 |
protected Document |
getDocumentFromFile(File file)
指定されたXMLファイルを読み込み、DOM Documentを生成します。 |
protected Document |
getDocumentFromFile(File file,
boolean ignoreComment)
指定されたXMLファイルを読み込み、DOM Documentを生成します。 |
protected void |
setFrom(Element root,
Mail mail)
|
protected void |
setHtml(Element root,
Mail mail)
HTML本文をセット。 |
protected void |
setRecipients(Element root,
Mail mail)
|
protected void |
setReplyTo(Element root,
Mail mail)
|
protected void |
setReturnPath(Element root,
Mail mail)
|
protected void |
setSubject(Element root,
Mail mail)
|
protected void |
setText(Element root,
Mail mail)
|
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected Map documentBuilderCache
コンストラクタの詳細 |
---|
public AbstractXMLMailBuilder()
メソッドの詳細 |
---|
protected Document getDocumentFromFile(File file, boolean ignoreComment) throws SAXException, IOException
file
- XMLファイル
IOException
SAXException
protected Document getDocumentFromFile(File file) throws SAXException, IOException
file
- XMLファイル
IOException
SAXException
protected DocumentBuilder createDocumentBuilder(boolean ignoreComment) throws FactoryConfigurationError
ignoreComment
-
FactoryConfigurationError
protected DocumentBuilder createDocumentBuilder() throws FactoryConfigurationError
FactoryConfigurationError
protected Document getDocumentFromClassPath(String classPath, boolean ignoreComment) throws SAXException, IOException
ignoreComment
- classPath
-
IOException
SAXException
protected Document getDocumentFromClassPath(String classPath) throws SAXException, IOException
classPath
-
IOException
SAXException
protected void setReplyTo(Element root, Mail mail)
root
- mail
- protected void setText(Element root, Mail mail)
root
- mail
- protected void setHtml(Element root, Mail mail)
root
- mail
- protected void setSubject(Element root, Mail mail)
root
- mail
- protected void setRecipients(Element root, Mail mail)
root
- mail
- protected void setReturnPath(Element root, Mail mail)
root
- mail
- protected void setFrom(Element root, Mail mail)
root
- mail
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |