Home / Function/ validate() — spring-boot Function Reference

validate() — spring-boot Function Reference

Architecture documentation for the validate() function in CustomLayersProvider.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  27083489_1721_dfec_c62f_ace57bc44f5a["validate()"]
  34098d7f_40c8_1c95_7080_c6ca20ac64ad["getLayers()"]
  34098d7f_40c8_1c95_7080_c6ca20ac64ad -->|calls| 27083489_1721_dfec_c62f_ace57bc44f5a
  4d2de5cf_27fb_05c2_31a6_2d9b076c5dd5["loadSchema()"]
  27083489_1721_dfec_c62f_ace57bc44f5a -->|calls| 4d2de5cf_27fb_05c2_31a6_2d9b076c5dd5
  style 27083489_1721_dfec_c62f_ace57bc44f5a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/CustomLayersProvider.java lines 65–74

	private void validate(Document document) {
		Schema schema = loadSchema();
		try {
			Validator validator = schema.newValidator();
			validator.validate(new DOMSource(document));
		}
		catch (SAXException | IOException ex) {
			throw new IllegalStateException("Invalid layers.xml configuration", ex);
		}
	}

Domain

Subdomains

Calls

  • loadSchema()

Called By

Frequently Asked Questions

What does validate() do?
validate() is a function in the spring-boot codebase.
What does validate() call?
validate() calls 1 function(s): loadSchema.
What calls validate()?
validate() is called by 1 function(s): getLayers.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free