Package | Description |
---|---|
com.norconex.commons.lang.xml |
XML-related classes.
|
Modifier and Type | Method and Description |
---|---|
List<XMLValidationError> |
ErrorHandlerCapturer.getErrors() |
List<XMLValidationError> |
XMLValidationException.getErrors() |
List<XMLValidationError> |
XML.populate(Object targetObject)
Populates supplied object with this XML.
|
List<XMLValidationError> |
XML.populate(Object targetObject,
String xpathExpression)
Populates supplied object with the XML matching the given expression.
|
List<XMLValidationError> |
XML.validate()
Validates this XML against an XSD schema attached to the class
represented in this XML root tag "class" attribute.
|
List<XMLValidationError> |
XML.validate(Class<?> clazz)
Validates this XML for classes having an XSD schema attached,
and logs any error/warnings.
|
List<XMLValidationError> |
XML.validate(Object obj)
Validates this XML for objects having an XSD schema attached,
and logs any error/warnings.
|
Constructor and Description |
---|
ErrorHandlerCapturer(Class<?> clazz,
List<XMLValidationError> errors) |
ErrorHandlerCapturer(List<XMLValidationError> errors) |
XMLValidationException(List<XMLValidationError> errors)
Constructor.
|
XMLValidationException(List<XMLValidationError> errors,
XML xml)
Constructor.
|
Copyright © 2008–2023 Norconex Inc.. All rights reserved.