public class RepositoryValidatorImpl extends Object
| Constructor and Description |
|---|
RepositoryValidatorImpl(EventListener eventLogger) |
| Modifier and Type | Method and Description |
|---|---|
static EventListener |
createLogger(OutputStream jsonOutputStream) |
int |
getErrors() |
int |
getFatalErrors() |
int |
getWarnings() |
boolean |
validate(InputStream inputStream)
Validate an Orchestra repository file against the XML schema
A repository is invalid if a parser encounters unrecoverable errors, such as for non-well
formed XML, or if errors are produced that recoverable for the parser but would lead to an
invalid conversion.
|
public RepositoryValidatorImpl(EventListener eventLogger)
public static EventListener createLogger(OutputStream jsonOutputStream)
public int getErrors()
public int getFatalErrors()
public int getWarnings()
public boolean validate(InputStream inputStream)
inputStream - input stream of a repository filetrue if the repository does not have serious errors, false if
it does.Copyright © 2016–2021 FIX Trading Community. All rights reserved.