Package org.apache.maven.plugin.ear
Class AbstractXmlWriter
- java.lang.Object
-
- org.apache.maven.plugin.ear.AbstractXmlWriter
-
- Direct Known Subclasses:
ApplicationXmlWriter,JbossAppXmlWriter
abstract class AbstractXmlWriter extends java.lang.ObjectA 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.Stringencodingprotected static java.lang.StringMODULE_ELEMENTprotected static java.lang.StringSERVICE_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 voidclose(java.io.Writer closeable)java.lang.StringgetEncoding()protected java.io.WriterinitializeWriter(java.io.File destinationFile)protected org.codehaus.plexus.util.xml.XMLWriterinitializeXmlWriter(java.io.Writer writer, java.lang.String docType)
-
-
-
Field Detail
-
encoding
private final java.lang.String encoding
-
MODULE_ELEMENT
protected static final java.lang.String MODULE_ELEMENT
- See Also:
- Constant Field Values
-
SERVICE_ELEMENT
protected static final java.lang.String SERVICE_ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeWriter
protected java.io.Writer initializeWriter(java.io.File destinationFile) throws EarPluginException- Throws:
EarPluginException
-
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()
-
-