org.enhydra.tool.archive.xml
Class AbstractDescriptorHandler
java.lang.Object
|
+--org.enhydra.tool.archive.xml.AbstractDescriptorHandler
- All Implemented Interfaces:
- DescriptorHandler
- Direct Known Subclasses:
- EarDescriptorHandler, EjbDescriptorHandler, WarDescriptorHandler
- public abstract class AbstractDescriptorHandler
- extends java.lang.Object
- implements DescriptorHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDescriptorHandler
public AbstractDescriptorHandler()
setOutStream
public void setOutStream(java.io.OutputStream s)
- Specified by:
setOutStream
in interface DescriptorHandler
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStream
in interface DescriptorHandler
setWriter
public void setWriter(java.io.StringWriter w)
- Specified by:
setWriter
in interface DescriptorHandler
getWriter
public java.io.StringWriter getWriter()
- Specified by:
getWriter
in interface DescriptorHandler
getSource
public java.lang.String getSource()
- Specified by:
getSource
in interface DescriptorHandler
setSource
public void setSource(java.lang.String s)
- Specified by:
setSource
in interface DescriptorHandler
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in interface DescriptorHandler
getDocument
protected Document getDocument()
throws ArchiveException
ArchiveException
prep
public void prep()
throws ArchiveException
- Specified by:
prep
in interface DescriptorHandler
ArchiveException
prepElements
protected abstract void prepElements()
getPublicID
protected abstract java.lang.String getPublicID()
getSystemID
protected abstract java.lang.String getSystemID()
getDoc
protected Document getDoc()
lookup
protected Element lookup(Element parent,
java.lang.String name)