org.daml.validator.indications
Class ResourceIndication
java.lang.Object
|
+--org.daml.validator.indications.Indication
|
+--org.daml.validator.indications.ResourceIndication
- public class ResourceIndication
- extends Indication
This is a general indication used when the indication pertains to a resource and the
location is a list of statements.
Constructor Summary |
ResourceIndication(com.hp.hpl.mesa.rdf.jena.model.Resource resource,
java.util.Collection statements,
java.lang.String message,
java.lang.String type)
|
Method Summary |
java.lang.String |
getLocation()
Generate a location string for the indication. |
java.lang.String |
getLocationXML()
Generate XML for the location of an exception without any location. |
Methods inherited from class org.daml.validator.indications.Indication |
getLocation, getLocation, getLocation, getLocationXML, getLocationXML, getLocationXML, getLocationXML, getMessage, getStatementXML, indicationCount, resetIdCounter, setLevel, toComparableString, toString, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
defaultLevel
public static int defaultLevel
ResourceIndication
public ResourceIndication(com.hp.hpl.mesa.rdf.jena.model.Resource resource,
java.util.Collection statements,
java.lang.String message,
java.lang.String type)
getLocation
public java.lang.String getLocation()
- Description copied from class:
Indication
- Generate a location string for the indication.
- Overrides:
getLocation
in class Indication
- Returns:
- Location string
getLocationXML
public java.lang.String getLocationXML()
throws com.hp.hpl.mesa.rdf.jena.model.RDFException
- Description copied from class:
Indication
- Generate XML for the location of an exception without any location.
- Overrides:
getLocationXML
in class Indication
- Returns:
- Location as XML
com.hp.hpl.mesa.rdf.jena.model.RDFException