Package org.hl7.fhir.dstu2.model
Class ResourceFactory
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Factory
-
- org.hl7.fhir.dstu2.model.ResourceFactory
-
public class ResourceFactory extends Factory
-
-
Constructor Summary
Constructors Constructor Description ResourceFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourcecreateResource(String name)static ElementcreateType(String name)-
Methods inherited from class org.hl7.fhir.dstu2.model.Factory
create, createUUID, makeCoding, makeReference, makeReference, newBoolean, newCode, newCodeableConcept, newContactPoint, newDate, newDateTime, newExtension, newId, newInteger, newInteger, newNarrative, newString_, newUri
-
-
-
-
Constructor Detail
-
ResourceFactory
public ResourceFactory()
-
-
Method Detail
-
createResource
public static Resource createResource(String name) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
createType
public static Element createType(String name) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
-