Add docs to explain #161

This commit is contained in:
jamesagnew 2015-04-23 21:46:49 -04:00
parent 7db7097e25
commit e6d087b1f6
1 changed files with 7 additions and 0 deletions

View File

@ -357,6 +357,13 @@ public class FhirContext {
return new FhirTerser(this);
}
/**
* Create a new validator instance.
* <p>
* Note on thread safety: Validators are thread safe, you may use a single validator
* in multiple threads. (This is in contrast to parsers)
* </p>
*/
public FhirValidator newValidator() {
return new FhirValidator(this);
}