public T elementDecl(XSElementDecl elementDecl) { return elementDecl.getType().apply(this); }
public T elementDecl(XSElementDecl elementDecl) { return elementDecl.getType().apply(this); }
public T restrictionSimpleType( XSRestrictionSimpleType restrictionSimpleType) { final List<T> values = new LinkedList<T>(); final T parentValue; if (restrictionSimpleType.getBaseType() != null) { parentValue = restrictionSimpleType.getBaseType().apply(this); } else { parentValue = null; } values.add(parentValue); // for () for (XSFacet facet : restrictionSimpleType.getDeclaredFacets()) { final T facetValue = facet.apply(this); values.add(facetValue); } return aggregate(values); }
public T restrictionSimpleType( XSRestrictionSimpleType restrictionSimpleType) { final List<T> values = new LinkedList<T>(); final T parentValue; if (restrictionSimpleType.getBaseType() != null) { parentValue = restrictionSimpleType.getBaseType().apply(this); } else { parentValue = null; } values.add(parentValue); // for () for (XSFacet facet : restrictionSimpleType.getDeclaredFacets()) { final T facetValue = facet.apply(this); values.add(facetValue); } return aggregate(values); }