- All Known Implementing Classes:
AbsIRIImpl,IRIFactory,IRIFactoryImpl,IRIImpl,Parser,ResolvedRelativeIRI,SchemeSpecification,Violation,ViolationCodes.Initialize,ViolationImpl
public interface IRIComponents
This interface provides constants
used as the return value of
Violation.getComponent().
Each identifies a component
of an IRI.
The values of these constants
will change with future releases,
since they integrate tightly with
implementation details.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates the authority component.static final intIndicates the fragment component.static final intIndicates the host part of the authority component.static final intIndicates the path component.static final intIndicates the PATH and QUERY components combined, for schemes in which ?static final intIndicates the port part of the authority component.static final intIndicates the query component.static final intIndicates the scheme component.static final intIndicates the user information part of the authority component, including the password if any.
-
Field Details
-
SCHEME
static final int SCHEMEIndicates the scheme component.- See Also:
-
AUTHORITY
static final int AUTHORITYIndicates the authority component.- See Also:
-
USER
static final int USERIndicates the user information part of the authority component, including the password if any.- See Also:
-
HOST
static final int HOSTIndicates the host part of the authority component.- See Also:
-
PORT
static final int PORTIndicates the port part of the authority component.- See Also:
-
PATH
static final int PATHIndicates the path component.- See Also:
-
QUERY
static final int QUERYIndicates the query component.- See Also:
-
FRAGMENT
static final int FRAGMENTIndicates the fragment component.- See Also:
-
PATHQUERY
static final int PATHQUERYIndicates the PATH and QUERY components combined, for schemes in which ? is not special (e.g. ftp and file)- See Also:
-