Package org.eigenbase.resgen

## Class ResourceGenTask.Include

- java.lang.Object
- - org.eigenbase.resgen.ResourceGenTask.Include

Enclosing class:
  ResourceGenTask

    public static class ResourceGenTask.Include
    extends java.lang.Object

`Include` implements <include> element nested within a <resgen> task (see `ResourceGenTask`).

Attribute | Description | Required
--- | --- | ---
name | The name, relative to srcdir, of the XML file which defines the resources. | Yes
className | The name of the class to be generated, including the package, but not including any locale suffix. By default, the class name is derived from the name of the source file, for example `happy/BirthdayResource_en_US.xml` becomes class `happy.BirthdayResource`. | No
cppClassName | The name of the C++ class to be generated. By default, the class name is derived from the name of the source file, for example `happy/BirthdayResource_en_US.xml` becomes class `happy.BirthdayResource`. | No
baseClassName | The fully-qualified name of the base class of the resource bundle. Defaults to "org.eigenbase.resgen.ShadowResourceBundle". | No
cppBaseClassName | The fully-qualified name of the base class of the resource bundle for C++. Defaults to "ResourceBundle". | No

### Field Summary

Fields
`(package private) java.lang.String` `baseClassName` Base class.
`(package private) java.lang.String` `className` Class name.
`(package private) java.lang.String` `cppBaseClassName` C++ Base class.
`(package private) java.lang.String` `cppClassName` C++ Class name.
`(package private) java.lang.String` `fileName` Name of source file, relative to 'srcdir'.
`(package private) ResourceGenTask` `root`

### Constructor Summary

Constructors
`Include()`

### Method Summary

All Methods Instance Methods Concrete Methods
`(package private) java.lang.String` `getBaseClassName()`
`(package private) java.lang.String` `getCppBaseClassName()`
`(package private) void` `process​(ResourceGen generator)`
`void` `setBaseClassName​(java.lang.String baseClassName)` Sets baseClassName.
`void` `setClassName​(java.lang.String className)` Sets className.
`void` `setCppBaseClassName​(java.lang.String baseClassName)` Sets cppBaseClassName.
`void` `setCppClassName​(java.lang.String className)` Sets cppClassName.
`void` `setName​(java.lang.String name)` Sets name.
`(package private) void` `validate()`

### Methods inherited from class java.lang.Object

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

### Field Detail

#### root

    ResourceGenTask root

#### fileName

    java.lang.String fileName

Name of source file, relative to 'srcdir'.

#### className

    java.lang.String className

Class name.

#### baseClassName

    java.lang.String baseClassName

Base class.

#### cppClassName

    java.lang.String cppClassName

C++ Class name.

#### cppBaseClassName

    java.lang.String cppBaseClassName

C++ Base class.

### Constructor Detail

#### Include

    public Include()

### Method Detail

#### validate

    void validate()
           throws BuildException

Throws:
  `BuildException`

#### process

    void process​(ResourceGen generator)
          throws BuildException

Throws:
  `BuildException`

#### setName

    public void setName​(java.lang.String name)

Sets name.

#### setClassName

    public void setClassName​(java.lang.String className)

Sets className.

#### setBaseClassName

    public void setBaseClassName​(java.lang.String baseClassName)

Sets baseClassName.

#### getBaseClassName

    java.lang.String getBaseClassName()

#### setCppClassName

    public void setCppClassName​(java.lang.String className)

Sets cppClassName.

#### setCppBaseClassName

    public void setCppBaseClassName​(java.lang.String baseClassName)

Sets cppBaseClassName.

#### getCppBaseClassName

    java.lang.String getCppBaseClassName()