public class SchemaValidator extends Object
Constructor and Description |
---|
SchemaValidator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
boolean |
validateCreditNote(InputStream is)
Validate xml document input stream against credit note schema.
|
boolean |
validateCreditNote(String xmlDocument)
Validate xml document against credit note schema.
|
boolean |
validateEHFV2CreditNote(InputStream is) |
boolean |
validateEHFV2CreditNote(String xmlDocument) |
boolean |
validateEHFV2Invoice(InputStream is) |
boolean |
validateEHFV2Invoice(String xmlDocument) |
boolean |
validateInvoice(InputStream is)
Validate xml document input stream against invoice schema.
|
boolean |
validateInvoice(String xmlDocument)
Validate xml document against invoice schema.
|
boolean |
validateOrder(InputStream is)
Validate xml document input stream against order schema.
|
boolean |
validateOrder(String xmlDocument)
Validate xml document against order schema.
|
boolean |
validateOrderResponse(InputStream is)
Validate xml document input stream against order response schema.
|
boolean |
validateOrderResponse(String xmlDocument)
Validate xml document against order response schema.
|
boolean |
validateReminder(InputStream is)
Validate xml document input stream against reminder schema.
|
boolean |
validateReminder(String xmlDocument)
Validate xml document against reminder schema.
|
public boolean validateInvoice(String xmlDocument) throws FileNotFoundException, IOException, SAXException
public boolean validateEHFV2Invoice(String xmlDocument) throws FileNotFoundException, IOException, SAXException
public boolean validateInvoice(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateEHFV2Invoice(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateCreditNote(String xmlDocument) throws FileNotFoundException, IOException, SAXException
public boolean validateEHFV2CreditNote(String xmlDocument) throws FileNotFoundException, IOException, SAXException
public boolean validateCreditNote(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateEHFV2CreditNote(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateReminder(String xmlDocument) throws FileNotFoundException, IOException, SAXException
public boolean validateReminder(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateOrder(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateOrder(String xmlDocument) throws FileNotFoundException, IOException, SAXException
public boolean validateOrderResponse(InputStream is) throws FileNotFoundException, IOException, SAXException
public boolean validateOrderResponse(String xmlDocument) throws FileNotFoundException, IOException, SAXException
Copyright © 2021 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.