|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.commons.digester.Rule
Concrete implementations of this class implement actions to be taken when a corresponding nested pattern of XML elements has been matched.
フィールドの概要 | |
protected Digester |
digester
The Digester with which this Rule is associated. |
protected java.lang.String |
namespaceURI
The namespace URI for which this Rule is relevant, if any. |
コンストラクタの概要 | |
Rule(Digester digester)
Default constructor sets only the the associated Digester. |
メソッドの概要 | |
void |
begin(org.xml.sax.Attributes attributes)
This method is called when the beginning of a matching XML element is encountered. |
void |
body(java.lang.String text)
This method is called when the body of a matching XML element is encountered. |
void |
end()
This method is called when the end of a matching XML element is encountered. |
void |
finish()
This method is called after all parsing methods have been called, to allow Rules to remove temporary data. |
Digester |
getDigester()
Return the Digester with which this Rule is associated. |
java.lang.String |
getNamespaceURI()
Return the namespace URI for which this Rule is relevant, if any. |
void |
setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI for which this Rule is relevant, if any. |
クラス java.lang.Object から継承したメソッド |
|
フィールドの詳細 |
protected Digester digester
protected java.lang.String namespaceURI
コンストラクタの詳細 |
public Rule(Digester digester)
digester
- The digester with which this rule is associatedメソッドの詳細 |
public Digester getDigester()
public java.lang.String getNamespaceURI()
public void setNamespaceURI(java.lang.String namespaceURI)
namespaceURI
- Namespace URI for which this Rule is relevant,
or null
to match independent of namespace.public void begin(org.xml.sax.Attributes attributes) throws java.lang.Exception
attributes
- The attribute list of this elementpublic void body(java.lang.String text) throws java.lang.Exception
text
- The text of the body of this elementpublic void end() throws java.lang.Exception
public void finish() throws java.lang.Exception
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |