|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.iri.Violation
public abstract class Violation
Information concerning a
violation of some specification concerning IRIs.
This may be wrapped in
an IRIException
and thrown,
or may be returned by
IRI.violations(boolean)
. Which conditions
result in errors and warnings
depends on the setting of the related
IRIFactory
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.hp.hpl.jena.iri.ViolationCodes |
---|
ViolationCodes.Initialize |
Field Summary |
---|
Fields inherited from interface com.hp.hpl.jena.iri.IRIComponents |
---|
AUTHORITY, FRAGMENT, HOST, PATH, PATHQUERY, PORT, QUERY, SCHEME, USER |
Constructor Summary | |
---|---|
Violation()
|
Method Summary | |
---|---|
abstract java.lang.String |
codeName()
A string version of the code number, corresponding to the name of the java identifier. |
abstract java.lang.String |
component()
The name of the component in which the problem occurred. |
abstract int |
getComponent()
A value from IRIComponents
indicating which component of the IRI
is involved with this error. |
abstract IRI |
getIRI()
The IRI that triggered this condition. |
abstract java.lang.String |
getLongMessage()
A long description of the error condition, typically including the |
abstract java.lang.String |
getShortMessage()
A short description of the error condition. |
abstract java.lang.String |
getSpecificationURL()
The URL of the section of the specification which has been violated. |
abstract int |
getViolationCode()
The value from ViolationCodes
corresponding to this condition. |
abstract boolean |
isError()
Using the settings of the factory associated with the IRI associated with this violation, is this condition intended as an error (or as a warning)? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Violation()
Method Detail |
---|
public abstract int getViolationCode()
ViolationCodes
corresponding to this condition.
public abstract IRI getIRI()
public abstract int getComponent()
IRIComponents
indicating which component of the IRI
is involved with this error.
public abstract java.lang.String codeName()
public abstract java.lang.String getShortMessage()
getLongMessage()
,
not an absolute value).
public abstract java.lang.String getLongMessage()
public abstract java.lang.String getSpecificationURL()
public abstract boolean isError()
public abstract java.lang.String component()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |