WebResourceRootSF (Apache Tomcat 9.0.119 API Documentation)
Description: declaration: package: org.apache.catalina.storeconfig, class: WebResourceRootSF

# Class WebResourceRootSF

java.lang.Object
org.apache.catalina.storeconfig.StoreFactoryBase
org.apache.catalina.storeconfig.WebResourceRootSF

All Implemented Interfaces:
  `IStoreFactory`

public class WebResourceRootSF extends StoreFactoryBase
Generate Resources element

- ## Field Summary

  ### Fields inherited from class StoreFactoryBase

  `sm`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WebResourceRootSF()`
  Constructs a new WebResourceRootSF.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `storeChildren(PrintWriter aWriter, int indent, Object aResourceRoot, StoreDescription parentDesc)`
  Store the specified Resources children.

  ### Methods inherited from class StoreFactoryBase

  `getInfo, getRegistry, getStoreAppender, setRegistry, setStoreAppender, store, storeElement, storeElementArray, storeXMLHead`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### WebResourceRootSF

    public WebResourceRootSF()
    Constructs a new WebResourceRootSF.

- ## Method Details

  - ### storeChildren

    public void storeChildren(PrintWriter aWriter, int indent, Object aResourceRoot, StoreDescription parentDesc) throws Exception
    Store the specified Resources children.

    Must Implement at subclass for custom store children handling.

    Overrides:
      `storeChildren` in class `StoreFactoryBase`
    Parameters:
      `aWriter` - Current output writer
      `indent` - Indentation level
      `aResourceRoot` - Current element
      `parentDesc` - The element description
    Throws:
      `Exception` - Configuration storing error