Class XmlAppendingTransformer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.jdom2.Document doc  
      (package private) boolean ignoreDtd  
      (package private) java.lang.String resource  
      static java.lang.String XSI_NS  
    • Field Detail

      • ignoreDtd

        boolean ignoreDtd
      • resource

        java.lang.String resource
      • doc

        org.jdom2.Document doc
    • Constructor Detail

      • XmlAppendingTransformer

        public XmlAppendingTransformer()
    • Method Detail

      • processResource

        public void processResource​(java.lang.String resource,
                                    java.io.InputStream is,
                                    java.util.List<Relocator> relocators)
                             throws java.io.IOException
        Description copied from interface: ResourceTransformer
        Transform an individual resource
        Specified by:
        processResource in interface ResourceTransformer
        Parameters:
        resource - The resoure name
        is - An input stream for the resource, the implementation should *not* close this stream
        relocators - A list of relocators
        Throws:
        java.io.IOException - When the IO blows up
      • modifyOutputStream

        public void modifyOutputStream​(java.util.jar.JarOutputStream jos)
                                throws java.io.IOException
        Specified by:
        modifyOutputStream in interface ResourceTransformer
        Throws:
        java.io.IOException