Class SettingsStaxReader

java.lang.Object
org.apache.maven.settings.v4.SettingsStaxReader

@Generated public class SettingsStaxReader extends Object
  • Constructor Details

  • Method Details

    • getAddDefaultEntities

      public boolean getAddDefaultEntities()
      Returns the state of the "add default entities" flag.
      Returns:
      boolean
    • setAddDefaultEntities

      public void setAddDefaultEntities(boolean addDefaultEntities)
      Sets the state of the "add default entities" flag.
      Parameters:
      addDefaultEntities - a addDefaultEntities object.
    • getAddLocationInformation

      public boolean getAddLocationInformation()
      Returns the state of the "add location information" flag.
      Returns:
      boolean
    • setAddLocationInformation

      public void setAddLocationInformation(boolean addLocationInformation)
      Sets the state of the "add location information" flag.
      Parameters:
      addLocationInformation - a addLocationInformation object.
    • read

      public Settings read(Reader reader) throws XMLStreamException
      Throws:
      XMLStreamException
    • read

      public Settings read(Reader reader, boolean strict, InputSource source) throws XMLStreamException
      Parameters:
      reader - a reader object.
      strict - a strict object.
      Returns:
      Settings
      Throws:
      XMLStreamException - XMLStreamException if any.
    • read

      public Settings read(InputStream in) throws XMLStreamException
      Throws:
      XMLStreamException
    • read

      public Settings read(InputStream in, boolean strict, InputSource source) throws XMLStreamException
      Method read.
      Parameters:
      in - a in object.
      strict - a strict object.
      Returns:
      Settings
      Throws:
      XMLStreamException - XMLStreamException if any.
    • read

      public Settings read(XMLStreamReader parser, boolean strict, InputSource source) throws XMLStreamException
      Method read.
      Parameters:
      parser - a parser object.
      strict - a strict object.
      Returns:
      Settings
      Throws:
      XMLStreamException - XMLStreamException if any.