Interface XmlReaderRequest


@Experimental @Immutable public interface XmlReaderRequest
An XML reader request.
Since:
4.0.0
  • Method Details

    • getPath

      @Nullable Path getPath()
    • getRootDirectory

      @Nullable Path getRootDirectory()
    • getURL

      @Nullable URL getURL()
    • getInputStream

      @Nullable InputStream getInputStream()
    • getReader

      @Nullable Reader getReader()
    • getTransformer

    • isStrict

      boolean isStrict()
    • getModelId

      @Nullable String getModelId()
    • getLocation

      @Nullable String getLocation()
    • isAddDefaultEntities

      boolean isAddDefaultEntities()
    • isAddLocationInformation

      default boolean isAddLocationInformation()
      Indicates whether location information (line/column tracking) should be recorded during parsing. Defaults to true. Setting this to false for imported dependency management POMs avoids allocating location maps that are never read, significantly reducing memory churn in large reactors.
      Returns:
      true if location information should be tracked
      Since:
      4.0.0
    • builder