|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.daml.validator.indications.Indication | +--org.daml.validator.indications.UndefinedResourceIndication
This indication is used when there is a resource that is referenced but does not exist.
Field Summary | |
static int |
defaultLevel
|
Fields inherited from class org.daml.validator.indications.Indication |
ERROR, INFORMATION, totalIndications, WARNING |
Constructor Summary | |
UndefinedResourceIndication(com.hp.hpl.mesa.rdf.jena.model.Resource resource,
java.util.Collection statements)
Constructor for an UndefinedResourceIndication. |
|
UndefinedResourceIndication(com.hp.hpl.mesa.rdf.jena.model.Resource resource,
com.hp.hpl.mesa.rdf.jena.model.Statement statement)
Constructor for an UndefinedResourceIndication. |
Method Summary | |
void |
addStatement(com.hp.hpl.mesa.rdf.jena.model.Statement statement)
Add to the list of statements that reference the undefined resource. |
static UndefinedResourceIndication |
create(com.hp.hpl.mesa.rdf.jena.model.Resource resource,
com.hp.hpl.mesa.rdf.jena.model.Statement statement)
|
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. |
java.lang.String |
getMessage()
Generate a message describing the indication. |
static void |
reset()
|
Methods inherited from class org.daml.validator.indications.Indication |
getLocation, getLocation, getLocation, getLocationXML, getLocationXML, getLocationXML, getLocationXML, getStatementXML, indicationCount, resetIdCounter, setLevel, toComparableString, toString, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int defaultLevel
Constructor Detail |
public UndefinedResourceIndication(com.hp.hpl.mesa.rdf.jena.model.Resource resource, java.util.Collection statements)
resource
- The undefined resourcestatements
- Collection of statements referencing the resourcepublic UndefinedResourceIndication(com.hp.hpl.mesa.rdf.jena.model.Resource resource, com.hp.hpl.mesa.rdf.jena.model.Statement statement)
resource
- The undefined resourceMethod Detail |
public static void reset()
public static UndefinedResourceIndication create(com.hp.hpl.mesa.rdf.jena.model.Resource resource, com.hp.hpl.mesa.rdf.jena.model.Statement statement)
public void addStatement(com.hp.hpl.mesa.rdf.jena.model.Statement statement)
public java.lang.String getMessage()
Indication
getMessage
in class Indication
public java.lang.String getLocation()
Indication
getLocation
in class Indication
public java.lang.String getLocationXML() throws com.hp.hpl.mesa.rdf.jena.model.RDFException
Indication
getLocationXML
in class Indication
com.hp.hpl.mesa.rdf.jena.model.RDFException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |