org.exolab.castor.dsml
Class ImportDescriptor

java.lang.Object
  extended by org.xml.sax.HandlerBase
      extended by org.exolab.castor.dsml.ImportDescriptor
All Implemented Interfaces:
Serializable, DocumentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ImportDescriptor
extends HandlerBase
implements Serializable

Version:
$Revision: 8145 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Assaf Arkin
See Also:
Serialized Form

Nested Class Summary
static class ImportDescriptor.Policy
           
 
Constructor Summary
ImportDescriptor()
           
 
Method Summary
 void addPolicy(String name, int policy)
           
 void endElement(String tagName)
           
 int getDirectPolicy(String name)
           
 int getPolicy(String name)
           
 Enumeration listDNs()
           
 void produce(DocumentHandler docHandler)
           
 void startElement(String tagName, AttributeList attr)
           
 
Methods inherited from class org.xml.sax.HandlerBase
characters, endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportDescriptor

public ImportDescriptor()
Method Detail

listDNs

public Enumeration listDNs()

addPolicy

public void addPolicy(String name,
                      int policy)

getDirectPolicy

public int getDirectPolicy(String name)

getPolicy

public int getPolicy(String name)

produce

public void produce(DocumentHandler docHandler)
             throws SAXException
Throws:
SAXException

startElement

public void startElement(String tagName,
                         AttributeList attr)
                  throws SAXException
Specified by:
startElement in interface DocumentHandler
Overrides:
startElement in class HandlerBase
Throws:
SAXException

endElement

public void endElement(String tagName)
                throws SAXException
Specified by:
endElement in interface DocumentHandler
Overrides:
endElement in class HandlerBase
Throws:
SAXException


Copyright © 2011. All Rights Reserved.