/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Sets the document used as the JAXP {@link SAXSource} * * @param document * DOCUMENT ME! */ public void setDocument(Document document) { super.setInputSource(new DocumentInputSource(document)); }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }
/** * Validates the given <code>Document</code> by writing it to a validating * SAX Parser. * * @param document * is the Document to validate * * @throws SAXException * if a validation error occurs * @throws RuntimeException * DOCUMENT ME! */ public void validate(Document document) throws SAXException { if (document != null) { XMLReader reader = getXMLReader(); if (errorHandler != null) { reader.setErrorHandler(errorHandler); } try { reader.parse(new DocumentInputSource(document)); } catch (IOException e) { throw new RuntimeException("Caught and exception that should " + "never happen: " + e); } } }