Enhydra 5.1 API

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


Constructor Summary
AbstractDescriptorHandler()
           
 
Method Summary
protected  Document getDoc()
           
protected  Document getDocument()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
protected abstract  java.lang.String getPublicID()
           
 java.lang.String getSource()
           
protected abstract  java.lang.String getSystemID()
           
 java.io.StringWriter getWriter()
           
protected  Element lookup(Element parent, java.lang.String name)
           
 void prep()
           
protected abstract  void prepElements()
           
 void setOutStream(java.io.OutputStream s)
           
 void setSource(java.lang.String s)
           
 void setWriter(java.io.StringWriter w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDescriptorHandler

public AbstractDescriptorHandler()
Method Detail

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)

Enhydra 5.1 API