public PropertyXMLBuilder(String serviceName,AMModel model,Set attributeSchemas,SchemaType schemaType) throws SMSException, SSOException {
  this.model=model;
  this.serviceName=serviceName;
  svcSchemaManager=new ServiceSchemaManager(serviceName,model.getUserSSOToken());
  if (schemaType != null) {
    if (loadSectionOrder()) {
      schemaTypes=new HashSet<SchemaType>();
      schemaTypes.add(schemaType);
      getSectionsForType();
    }
  }
  getServiceResourceBundle();
  if (serviceBundle != null) {
    mapTypeToAttributeSchema=new HashMap(attributeSchemas.size() * 2);
    mapTypeToAttributeSchema.put(NULL_TYPE,attributeSchemas);
  }
}

public PropertyXMLBuilder ( String serviceName , AMModel model , Set attributeSchemas , SchemaType schemaType ) throws SMSException , SSOException { this . model = model ; this . serviceName = serviceName ; svcSchemaManager = new ServiceSchemaManager ( serviceName , model . getUserSSOToken ( ) ) ; if ( schemaType != null ) { if ( loadSectionOrder ( ) ) { schemaTypes = new HashSet < SchemaType > ( ) ; schemaTypes . add ( schemaType ) ; getSectionsForType ( ) ; } } getServiceResourceBundle ( ) ; if ( serviceBundle != null ) { mapTypeToAttributeSchema = new HashMap ( attributeSchemas . size ( ) * 2 ) ; mapTypeToAttributeSchema . put ( NULL_TYPE , attributeSchemas ) ; } }
constructs a xml builder .
