|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.iri.Violation
com.hp.hpl.jena.iri.impl.ViolationImpl
public class ViolationImpl
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 | |
---|---|
ViolationImpl(IRI iri,
int slot,
int code)
|
Method Summary | |
---|---|
String |
codeName()
A string version of the code number, corresponding to the name of the java identifier. |
String |
component()
The name of the component in which the problem occurred. |
int |
getComponent()
A value from IRIComponents
indicating which component of the IRI
is involved with this error. |
IRI |
getIRI()
The IRI that triggered this condition. |
String |
getLongMessage()
A long description of the error condition, typically including the |
String |
getShortMessage()
A short description of the error condition. |
String |
getSpecificationURL()
The URL of the section of the specification which has been violated. |
int |
getViolationCode()
The value from ViolationCodes
corresponding to this condition. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViolationImpl(IRI iri, int slot, int code)
Method Detail |
---|
public int getViolationCode()
Violation
ViolationCodes
corresponding to this condition.
getViolationCode
in class Violation
public IRI getIRI()
Violation
getIRI
in class Violation
public int getComponent()
Violation
IRIComponents
indicating which component of the IRI
is involved with this error.
getComponent
in class Violation
public String component()
Violation
component
in class Violation
public String codeName()
Violation
codeName
in class Violation
public boolean isError()
Violation
isError
in class Violation
public String getShortMessage()
Violation
Violation.getLongMessage()
,
not an absolute value).
getShortMessage
in class Violation
public String getLongMessage()
Violation
getLongMessage
in class Violation
public String getSpecificationURL()
Violation
getSpecificationURL
in class Violation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |