Class AbstractXmlWriter

  • Direct Known Subclasses:
    ApplicationXmlWriter, JbossAppXmlWriter

    abstract class AbstractXmlWriter
    extends java.lang.Object
    A base class for deployment descriptor file generators.
    Version:
    $Id: AbstractXmlWriter.java 1636449 2014-11-03 21:27:36Z khmarbaise $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String encoding  
      protected static java.lang.String MODULE_ELEMENT  
      protected static java.lang.String SERVICE_ELEMENT  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractXmlWriter​(java.lang.String encoding)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void close​(java.io.Writer closeable)  
      java.lang.String getEncoding()  
      protected java.io.Writer initializeWriter​(java.io.File destinationFile)  
      protected org.codehaus.plexus.util.xml.XMLWriter initializeXmlWriter​(java.io.Writer writer, java.lang.String docType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • encoding

        private final java.lang.String encoding
      • SERVICE_ELEMENT

        protected static final java.lang.String SERVICE_ELEMENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractXmlWriter

        AbstractXmlWriter​(java.lang.String encoding)
    • Method Detail

      • initializeXmlWriter

        protected org.codehaus.plexus.util.xml.XMLWriter initializeXmlWriter​(java.io.Writer writer,
                                                                             java.lang.String docType)
      • close

        protected void close​(java.io.Writer closeable)
      • getEncoding

        public java.lang.String getEncoding()