Interface XmlAlter

All Known Implementing Classes:
XmlAlter.File, XmlAlter.Stream

public interface XmlAlter
Alter xml file.
Since:
0.8
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Implementation of XmlAlter that alters tag of the provided file.
    static final class 
    Implementation of XmlAlter that works with streams, it reads data from provided InputStream, alters tag attribute and writes result into OutputStream.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pkgAttr(String tag, String value)
    Updates `packages` attribute of the given tag with specified value.
  • Method Details

    • pkgAttr

      void pkgAttr(String tag, String value) throws IOException
      Updates `packages` attribute of the given tag with specified value.
      Parameters:
      tag - Tag to change
      value - Value for the attribute
      Throws:
      IOException - When error occurs