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

getChildElement() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1["getChildElement()"]
  34098d7f_40c8_1c95_7080_c6ca20ac64ad["getLayers()"]
  34098d7f_40c8_1c95_7080_c6ca20ac64ad -->|calls| cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1
  a2653880_974e_eeda_61eb_b0e7d6344c11["getSelectors()"]
  a2653880_974e_eeda_61eb_b0e7d6344c11 -->|calls| cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1
  afab24dc_a8db_69cc_85b0_613ed8604f6e["getLibrarySelector()"]
  afab24dc_a8db_69cc_85b0_613ed8604f6e -->|calls| cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1
  style cb34c1bc_a4f4_c1d4_9ed7_b9e2e2553cf1 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 161–170

	private @Nullable Element getChildElement(Element element, String tagName) {
		NodeList nodes = element.getElementsByTagName(tagName);
		if (nodes.getLength() == 0) {
			return null;
		}
		if (nodes.getLength() > 1) {
			throw new IllegalStateException("Multiple '" + tagName + "' nodes found");
		}
		return (Element) nodes.item(0);
	}

Domain

Subdomains

Frequently Asked Questions

What does getChildElement() do?
getChildElement() is a function in the spring-boot codebase.
What calls getChildElement()?
getChildElement() is called by 3 function(s): getLayers, getLibrarySelector, getSelectors.

Analyze Your Own Codebase

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

Try Supermodel Free