org.argouml.xml.todo
Class ResolvedCriticXMLHelper
java.lang.Object
|
+--org.argouml.xml.todo.ResolvedCriticXMLHelper
- public class ResolvedCriticXMLHelper
- extends java.lang.Object
A helper class to provide a view of a ResolvedCritic that is particularly
suited for saving to an XML file.
- See Also:
ResolvedCritic
Field Summary |
protected ResolvedCritic |
_item
The ResolvedCritic this instance helps. |
private static Logger |
cat
|
Method Summary |
java.lang.String |
getCritic()
Encodes the critic of this ResolvedCritic in an XML safe way and
returns the new String. |
java.util.Vector |
getOffenderList()
Gets the offender vector of this critic where each offender is
wrapped in an OffenderXMLHelper. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
private static Logger cat
_item
protected final ResolvedCritic _item
- The ResolvedCritic this instance helps.
ResolvedCriticXMLHelper
public ResolvedCriticXMLHelper(ResolvedCritic item)
- Creates a new ResolvedCriticXMLHelper for helping item.
- Parameters:
item
- The ResolvedCritic to expose.
getCritic
public java.lang.String getCritic()
- Encodes the critic of this ResolvedCritic in an XML safe way and
returns the new String. The String can be regained by running the
returned String through
TodoParser::decode
.
- Returns:
- The encoded critic.
getOffenderList
public java.util.Vector getOffenderList()
- Gets the offender vector of this critic where each offender is
wrapped in an OffenderXMLHelper.
- Returns:
- A Vector of OffenderXMLHelpers, or null if there are
no offenders.
- See Also:
OffenderXMLHelper