Package org.jboss.jca.validator
Class FailureHelper
- java.lang.Object
-
- org.jboss.jca.validator.FailureHelper
-
public class FailureHelper extends Object
Failure helper
-
-
Constructor Summary
Constructors Constructor Description FailureHelper(Collection<Failure> failures)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasText(ResourceBundle rb)As textStringasXML(ResourceBundle rb)As XML
-
-
-
Constructor Detail
-
FailureHelper
public FailureHelper(Collection<Failure> failures)
Constructor- Parameters:
failures- The list of failures
-
-
Method Detail
-
asText
public String asText(ResourceBundle rb)
As text- Parameters:
rb- The resource bundle- Returns:
- The text representation
-
asXML
public String asXML(ResourceBundle rb)
As XML- Parameters:
rb- The resource bundle- Returns:
- The XML representation
-
-