hudson.plugins.checkstyle.rules
Class TopicRule
java.lang.Object
org.apache.commons.digester.Rule
org.apache.commons.digester.NodeCreateRule
hudson.plugins.checkstyle.rules.TopicRule
public class TopicRule
- extends org.apache.commons.digester.NodeCreateRule
Digester rule to parse the actual content of a DocBook subsection node. Does
not interpret XML elements that are children of a subsection.
- Author:
- Ulli Hafner
| Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
|
Constructor Summary |
TopicRule()
Instantiates a new topic rule. |
| Methods inherited from class org.apache.commons.digester.NodeCreateRule |
begin |
| Methods inherited from class org.apache.commons.digester.Rule |
begin, body, body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopicRule
public TopicRule()
throws ParserConfigurationException
- Instantiates a new topic rule.
- Throws:
ParserConfigurationException - the parser configuration exception
end
public void end()
throws Exception
- Overrides:
end in class org.apache.commons.digester.NodeCreateRule
- Throws:
Exception
extractNoteContent
protected String extractNoteContent(Element subsection)
throws ParserConfigurationException,
IOException
- Extracts the node content. Basically returns every character in the
subsection element.
- Parameters:
subsection - the subsection of a rule
- Returns:
- the node content
- Throws:
ParserConfigurationException - in case of an error
IOException - in case of an error
Copyright © 2004-2012 Hudson. All Rights Reserved.