|
||||||||||
| 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 | |
|---|---|
java.lang.String |
codeName()
A string version of the code number, corresponding to the name of the java identifier. |
java.lang.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. |
java.lang.String |
getLongMessage()
A long description of the error condition, typically including the |
java.lang.String |
getShortMessage()
A short description of the error condition. |
java.lang.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()
ViolationViolationCodes
corresponding to this condition.
getViolationCode in class Violationpublic IRI getIRI()
Violation
getIRI in class Violationpublic int getComponent()
ViolationIRIComponents
indicating which component of the IRI
is involved with this error.
getComponent in class Violationpublic java.lang.String component()
Violation
component in class Violationpublic java.lang.String codeName()
Violation
codeName in class Violationpublic boolean isError()
Violation
isError in class Violationpublic java.lang.String getShortMessage()
ViolationViolation.getLongMessage(),
not an absolute value).
getShortMessage in class Violationpublic java.lang.String getLongMessage()
Violation
getLongMessage in class Violationpublic java.lang.String getSpecificationURL()
Violation
getSpecificationURL in class Violation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||