Package com.adobe.acs.commons.mcp.util
Class SyntheticResourceBuilder
java.lang.Object
com.adobe.acs.commons.mcp.util.SyntheticResourceBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()createChild(String name) createChild(String name, String resourceType) createSibling(String name) createSibling(String name, String resourceType) up()up(int levels) withAttributes(Object... attrs) withAttributes(Map<String, Object> attrs) withChild(org.apache.sling.api.resource.Resource child) Note: this doesn't navigate to the child, it just adds it to the current resource
-
Constructor Details
-
SyntheticResourceBuilder
-
SyntheticResourceBuilder
-
-
Method Details
-
createChild
-
createChild
-
createSibling
-
createSibling
-
withPath
-
withChild
Note: this doesn't navigate to the child, it just adds it to the current resource -
withAttributes
-
withAttributes
-
up
-
up
-
up
-
build
-