static AdaptationRegistry create(Schema schema,ElementTransform transform){
  return new AdaptationRegistry(transform.getAdaptations(),unionAttributes(schema,transform),unionElements(schema,transform));
}

static AdaptationRegistry create ( Schema schema , ElementTransform transform ) { return new AdaptationRegistry ( transform . getAdaptations ( ) , unionAttributes ( schema , transform ) , unionElements ( schema , transform ) ) ; }
constructs a new adaptation registry from the given transform .
