1 4 package com.tc.config.schema.defaults; 5 6 import org.apache.xmlbeans.SchemaType; 7 import org.apache.xmlbeans.XmlException; 8 import org.apache.xmlbeans.XmlObject; 9 10 13 public interface DefaultValueProvider { 14 15 boolean possibleForXPathToHaveDefault(String xpath); 16 17 XmlObject defaultFor(SchemaType baseType, String xpath) throws XmlException; 18 19 boolean hasDefault(SchemaType baseType, String xpath) throws XmlException; 20 21 boolean isOptional(SchemaType baseType, String xpath) throws XmlException; 22 23 } 24 | Popular Tags |