1 /* 2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved. 3 */ 4 package com.tc.config.schema.validate; 5 6 import org.apache.xmlbeans.XmlException; 7 import org.apache.xmlbeans.XmlObject; 8 9 /** 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 } 18