public Iterator<XSComponent> complexType(XSComplexType type) { return singleton(type.getScope()); } // TODO: attribute declaration has a scope, too.
public Iterator<XSComponent> complexType(XSComplexType type) { return singleton(type.getScope()); } // TODO: attribute declaration has a scope, too.
public Iterator<XSComponent> complexType(XSComplexType type) { return singleton(type.getScope()); } // TODO: attribute declaration has a scope, too.
public Iterator<XSComponent> complexType(XSComplexType type) { return singleton(type.getScope()); } // TODO: attribute declaration has a scope, too.
public Iterator<XSComponent> complexType(XSComplexType type) { return singleton(type.getScope()); } // TODO: attribute declaration has a scope, too.
protected static String getAnonymousTypeName(XSType type, String fieldName) { if (type.isComplexType()) { XSElementDecl container = type.asComplexType().getScope(); String elName = container.getName(); return elName + ANONYMOUS_TYPE_SUFFIX; } else { return fieldName + ANONYMOUS_TYPE_SUFFIX; } }
XSElementDecl element = type.getScope();
XSElementDecl element = type.getScope();
XSElementDecl element = type.getScope();
XSElementDecl element = type.getScope();
XSElementDecl element = type.getScope();