Class XmlValidationUtils
java.lang.Object
gov.niem.tools.api.validation.ValidationUtils
gov.niem.tools.api.validation.xml.XmlValidationUtils
XML validation-related utility functions.
-
Field Summary
Fields inherited from class gov.niem.tools.api.validation.ValidationUtils
TEMP_DIR_BASE, TEMP_DIR_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getRelativePath
(String pathString) Normalizes the given path, removes the temporary directory from the path if present and cleans up the results.Methods inherited from class gov.niem.tools.api.validation.ValidationUtils
convertClassPathResourceToFile, copyClasspathFiles, createTempFolder, getClasspathXsdSources, getDocument, getXpath, getXpathResult, getXpathResults, getXpathResultText, getXsdRootAttributeValue
-
Constructor Details
-
XmlValidationUtils
public XmlValidationUtils()
-
-
Method Details
-
getRelativePath
Normalizes the given path, removes the temporary directory from the path if present and cleans up the results.- Throws:
IOException
-