1 package org.codehaus.xfire.wsdl; 2 3 import java.util.Set; 4 5 import org.dom4j.Element; 6 import org.dom4j.QName; 7 8 /*** 9 * 10 * 11 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> 12 */ 13 public interface WSDLType 14 { 15 /*** 16 * Whether or not this a complex type. If true then 17 * the schema for this type is written out. 18 * 19 * @return 20 */ 21 boolean isComplex(); 22 23 /*** 24 * The types that this type references. 25 * 26 * @return 27 */ 28 Set getDependencies(); 29 30 /*** 31 * Write the type schema (if complex) to the element. 32 * 33 * @param element 34 */ 35 void writeSchema( Element element ); 36 37 /*** 38 * The schema type that this WSDLType represents. 39 * 40 * @return 41 */ 42 QName getSchemaType(); 43 }