Interface IRIComponents

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Indicates the authority component.
    static final int
    Indicates the fragment component.
    static final int
    Indicates the host part of the authority component.
    static final int
    Indicates the path component.
    static final int
    Indicates the PATH and QUERY components combined, for schemes in which ? is not special (e.g.
    static final int
    Indicates the port part of the authority component.
    static final int
    Indicates the query component.
    static final int
    Indicates the scheme component.
    static final int
    Indicates the user information part of the authority component, including the password if any.
  • Field Details

    • SCHEME

      static final int SCHEME
      Indicates the scheme component.
      See Also:
    • AUTHORITY

      static final int AUTHORITY
      Indicates the authority component.
      See Also:
    • USER

      static final int USER
      Indicates the user information part of the authority component, including the password if any.
      See Also:
    • HOST

      static final int HOST
      Indicates the host part of the authority component.
      See Also:
    • PORT

      static final int PORT
      Indicates the port part of the authority component.
      See Also:
    • PATH

      static final int PATH
      Indicates the path component.
      See Also:
    • QUERY

      static final int QUERY
      Indicates the query component.
      See Also:
    • FRAGMENT

      static final int FRAGMENT
      Indicates the fragment component.
      See Also:
    • PATHQUERY

      static final int PATHQUERY
      Indicates the PATH and QUERY components combined, for schemes in which ? is not special (e.g. ftp and file)
      See Also: