com.k_int.util.Repository
Class XMLDataSource

java.lang.Object
  |
  +--org.xml.sax.helpers.DefaultHandler
        |
        +--com.k_int.util.Repository.XMLDataSource
All Implemented Interfaces:
org.xml.sax.ContentHandler, DataSource, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class XMLDataSource
extends org.xml.sax.helpers.DefaultHandler
implements DataSource


Constructor Summary
XMLDataSource()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 java.util.Enumeration collections()
           
 void endDocument()
           
 void endElement(java.lang.String the_uri, java.lang.String the_local_name, java.lang.String the_q_name)
           
 CollectionInformation lookupCollectionInformation(java.lang.String collection_dn)
           
 CollectionInstance lookupCollectionInstance(java.lang.String collection_instance_dn)
           
 RepositoryInformation lookupRepositoryInformation(java.lang.String repository_dn)
           
 void setProperties(java.util.Properties p)
           
 void startDocument()
           
 void startElement(java.lang.String the_uri, java.lang.String the_local_name, java.lang.String the_q_name, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDataSource

public XMLDataSource()
Method Detail

setProperties

public void setProperties(java.util.Properties p)
Specified by:
setProperties in interface DataSource

lookupCollectionInformation

public CollectionInformation lookupCollectionInformation(java.lang.String collection_dn)
Specified by:
lookupCollectionInformation in interface DataSource

lookupRepositoryInformation

public RepositoryInformation lookupRepositoryInformation(java.lang.String repository_dn)
Specified by:
lookupRepositoryInformation in interface DataSource

lookupCollectionInstance

public CollectionInstance lookupCollectionInstance(java.lang.String collection_instance_dn)
Specified by:
lookupCollectionInstance in interface DataSource

collections

public java.util.Enumeration collections()
Specified by:
collections in interface DataSource

startDocument

public void startDocument()
Overrides:
startDocument in class org.xml.sax.helpers.DefaultHandler

endDocument

public void endDocument()
Overrides:
endDocument in class org.xml.sax.helpers.DefaultHandler

startElement

public void startElement(java.lang.String the_uri,
                         java.lang.String the_local_name,
                         java.lang.String the_q_name,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler

endElement

public void endElement(java.lang.String the_uri,
                       java.lang.String the_local_name,
                       java.lang.String the_q_name)
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler

characters

public void characters(char[] ch,
                       int start,
                       int length)
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler


Copyright © 2001 Knowledge Integration Ltd. All Rights Reserved.