ModeShape Distribution 3.6.0.Final

org.modeshape.connector.meta.jdbc
Class DatabaseRetriever

java.lang.Object
  extended by org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
      extended by org.modeshape.connector.meta.jdbc.DatabaseRetriever

public final class DatabaseRetriever
extends AbstractMetadataRetriever

Class which converts database metadata, to connector documents.


Field Summary
protected static String ID
           
 
Fields inherited from class org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
connector
 
Constructor Summary
protected DatabaseRetriever(JdbcMetadataConnector connector)
           
 
Method Summary
protected  boolean canHandle(String id)
           
protected  Document getDocumentById(String id, DocumentWriter writer, Connection connection)
           
protected  String idFrom(String path)
           
 
Methods inherited from class org.modeshape.connector.meta.jdbc.AbstractMetadataRetriever
generateId, removeEmptyOrNullElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

protected static final String ID
See Also:
Constant Field Values
Constructor Detail

DatabaseRetriever

protected DatabaseRetriever(JdbcMetadataConnector connector)
Method Detail

getDocumentById

protected Document getDocumentById(String id,
                                   DocumentWriter writer,
                                   Connection connection)
Specified by:
getDocumentById in class AbstractMetadataRetriever

idFrom

protected String idFrom(String path)
Specified by:
idFrom in class AbstractMetadataRetriever

canHandle

protected boolean canHandle(String id)
Specified by:
canHandle in class AbstractMetadataRetriever

ModeShape Distribution 3.6.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.