
Package org.hl7.fhir.r5.test.utils
Class ToolsHelper
- java.lang.Object
-
- org.hl7.fhir.r5.test.utils.ToolsHelper
-
public class ToolsHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ToolsHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeCanonicalXml(String[] args)
void
executeFragments(String[] args)
String
executeJson(String[] args)
void
executeRoundTrip(String[] args)
protected org.xmlpull.v1.XmlPullParser
loadXml(InputStream stream)
static void
main(String[] args)
protected int
nextNoWhitespace(org.xmlpull.v1.XmlPullParser xpp)
void
processExamples(String rootDir, Collection<String> list)
void
testRoundTrip(String rootDir, String tmpDir, Collection<String> names)
-
-
-
Constructor Detail
-
ToolsHelper
public ToolsHelper()
-
-
Method Detail
-
loadXml
protected org.xmlpull.v1.XmlPullParser loadXml(InputStream stream) throws org.xmlpull.v1.XmlPullParserException, IOException
- Throws:
org.xmlpull.v1.XmlPullParserException
IOException
-
nextNoWhitespace
protected int nextNoWhitespace(org.xmlpull.v1.XmlPullParser xpp) throws org.xmlpull.v1.XmlPullParserException, IOException
- Throws:
org.xmlpull.v1.XmlPullParserException
IOException
-
executeFragments
public void executeFragments(String[] args) throws IOException
- Throws:
IOException
-
executeRoundTrip
public void executeRoundTrip(String[] args) throws IOException, org.hl7.fhir.exceptions.FHIRException
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
executeJson
public String executeJson(String[] args) throws IOException, org.hl7.fhir.exceptions.FHIRException
- Throws:
IOException
org.hl7.fhir.exceptions.FHIRException
-
executeCanonicalXml
public void executeCanonicalXml(String[] args) throws org.hl7.fhir.exceptions.FHIRException, IOException
- Throws:
org.hl7.fhir.exceptions.FHIRException
IOException
-
processExamples
public void processExamples(String rootDir, Collection<String> list) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
testRoundTrip
public void testRoundTrip(String rootDir, String tmpDir, Collection<String> names) throws Throwable
- Throws:
Throwable
-
-