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

getDocument() — spring-boot Function Reference

Architecture documentation for the getDocument() function in CustomLayersProviderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  3fb09c1b_bc63_bf29_df26_7f17634bc16e["getDocument()"]
  ae1670d2_c1df_5840_e28c_9ee4d2a196d3["getLayerResolverWhenDocumentValid()"]
  ae1670d2_c1df_5840_e28c_9ee4d2a196d3 -->|calls| 3fb09c1b_bc63_bf29_df26_7f17634bc16e
  0e4c9d19_3e9c_57ee_3447_bffcc57105a9["getLayerResolverWhenDocumentContainsLibraryLayerWithNoFilters()"]
  0e4c9d19_3e9c_57ee_3447_bffcc57105a9 -->|calls| 3fb09c1b_bc63_bf29_df26_7f17634bc16e
  adb53426_f814_60f0_47a0_fd40d68ffdc7["getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters()"]
  adb53426_f814_60f0_47a0_fd40d68ffdc7 -->|calls| 3fb09c1b_bc63_bf29_df26_7f17634bc16e
  style 3fb09c1b_bc63_bf29_df26_7f17634bc16e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/CustomLayersProviderTests.java lines 98–105

	private Document getDocument(String resourceName) throws Exception {
		ClassPathResource resource = new ClassPathResource(resourceName);
		InputSource inputSource = new InputSource(resource.getInputStream());
		DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
		factory.setNamespaceAware(true);
		DocumentBuilder documentBuilder = factory.newDocumentBuilder();
		return documentBuilder.parse(inputSource);
	}

Domain

Subdomains

Frequently Asked Questions

What does getDocument() do?
getDocument() is a function in the spring-boot codebase.
What calls getDocument()?
getDocument() is called by 3 function(s): getLayerResolverWhenDocumentContainsLibraryLayerWithNoFilters, getLayerResolverWhenDocumentContainsResourceLayerWithNoFilters, getLayerResolverWhenDocumentValid.

Analyze Your Own Codebase

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

Try Supermodel Free