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.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)
-
-
-
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()
-
-