use of org.eclipse.persistence.internal.oxm.schema.model.Attribute in project eclipselink by eclipse-ee4j.
the class SDOTypesGenerator method processGlobalAttributes.
private void processGlobalAttributes(Schema schema) {
Collection<Attribute> attributes = schema.getTopLevelAttributes().values();
if (attributes == null) {
return;
}
Iterator<Attribute> attributesIter = attributes.iterator();
while (attributesIter.hasNext()) {
Attribute nextAttribute = attributesIter.next();
String targetNamespace = schema.getTargetNamespace();
if (null == targetNamespace) {
targetNamespace = "";
}
processGlobalAttribute(targetNamespace, schema.getDefaultNamespace(), nextAttribute);
}
}
Aggregations