1 16 package org.apache.axis.wsdl.symbolTable; 17 18 import org.w3c.dom.Node ; 19 20 import javax.xml.namespace.QName ; 21 22 26 public class DefinedType extends Type { 27 28 30 31 protected TypeEntry extensionBase; 32 33 34 protected boolean searchedForExtensionBase = false; 35 36 42 public DefinedType(QName pqName, Node pNode) { 43 super(pqName, pNode); 44 } 45 46 54 public DefinedType(QName pqName, TypeEntry refType, Node pNode, 55 String dims) { 56 super(pqName, refType, pNode, dims); 57 } 58 59 65 public TypeEntry getComplexTypeExtensionBase(SymbolTable symbolTable) { 66 67 if(!searchedForExtensionBase) { 68 if (null == extensionBase) { 69 extensionBase = 70 SchemaUtils.getComplexElementExtensionBase(getNode(), 71 symbolTable); 72 } 73 searchedForExtensionBase = true; 74 } 75 76 return extensionBase; 77 } 78 } 79 | Popular Tags |