eu.peppol.validation.commons.schematron.svrl
Class SVRLFailedAssert

java.lang.Object
  extended by eu.peppol.validation.commons.schematron.svrl.SVRLFailedAssert

@Immutable
public final class SVRLFailedAssert
extends Object

A wrapper around FailedAssertType with easier error level handling.

Author:
PEPPOL.AT, BRZ, Philip Helger

Constructor Summary
SVRLFailedAssert(FailedAssertType aFailedAssert)
           
 
Method Summary
 SVRLResourceError getAsResourceError(String sResourceName)
           
 List<DiagnosticReferenceType> getDiagnisticReferences()
           
 com.phloc.commons.error.EErrorLevel getFlag()
           
 String getLocation()
           
 String getRole()
           
 String getTest()
           
 String getText()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SVRLFailedAssert

public SVRLFailedAssert(@Nonnull
                        FailedAssertType aFailedAssert)
Method Detail

getDiagnisticReferences

@Nonnull
@ReturnsImmutableObject
public List<DiagnosticReferenceType> getDiagnisticReferences()

getText

public String getText()

getLocation

public String getLocation()

getTest

public String getTest()

getRole

@Nullable
public String getRole()

getFlag

@Nonnull
public com.phloc.commons.error.EErrorLevel getFlag()

getAsResourceError

@Nonnull
public SVRLResourceError getAsResourceError(@Nullable
                                                    String sResourceName)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 PEPPOL project. All Rights Reserved.