01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.config.schema.validate;
05:
06: import org.apache.xmlbeans.XmlException;
07: import org.apache.xmlbeans.XmlObject;
08:
09: /**
10: * An object that knows how to validate some property of an {@link XmlObject} bean. (The bean it will be given is the
11: * top-level bean of whatever repository it's attached to}.
12: */
13: public interface ConfigurationValidator {
14:
15: void validate(XmlObject bean) throws XmlException;
16:
17: }
|