## Uses of Class
com.opensymphony.xwork2.config.entities.PackageConfig.Builder

- Packages that use PackageConfig.Builder
  Package | Description
  --- | ---
  com.opensymphony.xwork2.config.entities | Configuration entity classes.
  com.opensymphony.xwork2.config.providers | Configuration provider classes.

- - ### Uses of PackageConfig.Builder in com.opensymphony.xwork2.config.entities

    Methods in com.opensymphony.xwork2.config.entities that return PackageConfig.Builder
    Modifier and Type | Method and Description
    --- | ---
    `PackageConfig.Builder` | PackageConfig.Builder.`addActionConfig(String name, ActionConfig action)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addExceptionMappingConfig(ExceptionMappingConfig exceptionMappingConfig)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addGlobalAllowedMethods(Set<String> allowedMethods)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addGlobalExceptionMappingConfigs(List<ExceptionMappingConfig> exceptionMappingConfigs)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addGlobalResultConfig(ResultConfig resultConfig)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addGlobalResultConfigs(Map<String,ResultConfig> resultConfigs)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addInterceptorConfig(InterceptorConfig config)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addInterceptorStackConfig(InterceptorStackConfig config)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addParent(PackageConfig parent)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addParents(List<PackageConfig> parents)`
    `PackageConfig.Builder` | PackageConfig.Builder.`addResultTypeConfig(ResultTypeConfig config)`
    `PackageConfig.Builder` | PackageConfig.Builder.`defaultActionRef(String name)`
    `PackageConfig.Builder` | PackageConfig.Builder.`defaultClassRef(String defaultClassRef)`
    `PackageConfig.Builder` | PackageConfig.Builder.`defaultInterceptorRef(String name)`
    `PackageConfig.Builder` | PackageConfig.Builder.`defaultResultType(String defaultResultType)` sets the default Result type for this package
    `PackageConfig.Builder` | PackageConfig.Builder.`isAbstract(boolean isAbstract)`
    `PackageConfig.Builder` | PackageConfig.Builder.`isFinal(boolean isFinal)`
    `PackageConfig.Builder` | PackageConfig.Builder.`location(Location loc)`
    `PackageConfig.Builder` | PackageConfig.Builder.`name(String name)`
    `PackageConfig.Builder` | PackageConfig.Builder.`namespace(String namespace)`
    `PackageConfig.Builder` | PackageConfig.Builder.`needsRefresh(boolean needsRefresh)`
    `PackageConfig.Builder` | PackageConfig.Builder.`strictMethodInvocation(boolean strict)`

  - ### Uses of PackageConfig.Builder in com.opensymphony.xwork2.config.providers

    Methods in com.opensymphony.xwork2.config.providers that return PackageConfig.Builder
    Modifier and Type | Method and Description
    --- | ---
    `protected PackageConfig.Builder` | XmlDocConfigurationProvider.`buildPackageContext(Element packageElement)` This method builds a package context by looking for the parents of this new package.

    Methods in com.opensymphony.xwork2.config.providers with parameters of type PackageConfig.Builder
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | XmlDocConfigurationProvider.`addAction(Element actionElement, PackageConfig.Builder packageContext)`
    `protected void` | XmlDocConfigurationProvider.`addResultTypes(PackageConfig.Builder packageContext, Element element)`
    `protected ActionConfig` | XmlDocConfigurationProvider.`buildActionConfig(Element actionElement, Location location, PackageConfig.Builder packageContext, Map<String,ResultConfig> results)`
    `protected Set<String>` | XmlDocConfigurationProvider.`buildAllowedMethods(Element element, PackageConfig.Builder packageContext)`
    `protected List<ExceptionMappingConfig>` | XmlDocConfigurationProvider.`buildExceptionMappings(Element element, PackageConfig.Builder packageContext)` Deprecated. since 6.2.0, use `XmlDocConfigurationProvider.buildExceptionMappings(Element)`
    `protected List<InterceptorMapping>` | XmlDocConfigurationProvider.`buildInterceptorList(Element element, PackageConfig.Builder context)`
    `protected Map<String,ResultConfig>` | XmlDocConfigurationProvider.`buildResults(Element element, PackageConfig.Builder packageContext)` Build a map of ResultConfig objects from below a given XML element.
    `protected void` | XmlDocConfigurationProvider.`loadDefaultActionRef(PackageConfig.Builder packageContext, Element element)`
    `protected void` | XmlDocConfigurationProvider.`loadDefaultClassRef(PackageConfig.Builder packageContext, Element element)`
    `protected void` | XmlDocConfigurationProvider.`loadDefaultInterceptorRef(PackageConfig.Builder packageContext, Element element)`
    `protected void` | XmlDocConfigurationProvider.`loadGlobalAllowedMethods(PackageConfig.Builder packageContext, Element packageElement)`
    `protected void` | XmlDocConfigurationProvider.`loadGlobalExceptionMappings(PackageConfig.Builder packageContext, Element packageElement)` Load all the global results for this package from the XML element.
    `protected void` | XmlDocConfigurationProvider.`loadGlobalResults(PackageConfig.Builder packageContext, Element packageElement)` Load all the global results for this package from the XML element.
    `protected void` | XmlDocConfigurationProvider.`loadInterceptors(PackageConfig.Builder context, Element element)`
    `protected InterceptorStackConfig` | XmlDocConfigurationProvider.`loadInterceptorStack(Element element, PackageConfig.Builder context)`
    `protected void` | XmlDocConfigurationProvider.`loadInterceptorStacks(Element element, PackageConfig.Builder context)`
    `protected List<InterceptorMapping>` | XmlDocConfigurationProvider.`lookupInterceptorReference(PackageConfig.Builder context, Element interceptorRefElement)` Looks up the Interceptor Class from the interceptor-ref name and creates an instance, which is added to the provided List, or, if this is a ref to a stack, it adds the Interceptor instances from the List to this stack.

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.