public class GraphMLValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validate(InputStream graphML,
boolean strictValidation)
Validates the given XML stream and throws an exception if it is not a valid GraphML.
|
static void |
validate(StreamSource graphML,
boolean strictValidation)
Validates the given XML stream and throws an exception if it is not a valid GraphML.
|
public static void validate(InputStream graphML, boolean strictValidation) throws ValidationException
graphML - the XML stream to validate.strictValidation - throws exceptions on validation error if set to true.ValidationException - if a validation error occurs while strictValidation is set to true.public static void validate(StreamSource graphML, boolean strictValidation) throws ValidationException
graphML - the XML stream to validate.strictValidation - throws exceptions on validation error if set to true.ValidationException - if a validation error occurs while strictValidation is set to true.Copyright © 2020. All rights reserved.