org.deegree.metadata.persistence.inspectors
Class MetadataSchemaValidationInspector<T extends MetadataRecord>

java.lang.Object
  extended by org.deegree.metadata.persistence.inspectors.MetadataSchemaValidationInspector<T>
All Implemented Interfaces:
RecordInspector<T>

public class MetadataSchemaValidationInspector<T extends MetadataRecord>
extends Object
implements RecordInspector<T>

RecordInspector that performs schema-validation.

Version:
$Revision$, $Date$
Author:
Steffen Thomas, last edited by: $Author$

Constructor Summary
MetadataSchemaValidationInspector()
           
 
Method Summary
 T inspect(T record, Connection conn, ConnectionManager.Type connectionType)
          Inspects the given MetdataRecord.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataSchemaValidationInspector

public MetadataSchemaValidationInspector()
Method Detail

inspect

public T inspect(T record,
                 Connection conn,
                 ConnectionManager.Type connectionType)
                                 throws MetadataInspectorException
Description copied from interface: RecordInspector
Inspects the given MetdataRecord.

Specified by:
inspect in interface RecordInspector<T extends MetadataRecord>
Returns:
the inspected and (possibly) modified metadata record
Throws:
MetadataInspectorException


Copyright © 2011. All Rights Reserved.