Package org.eigenbase.resgen

## Class XmlFileTask

- java.lang.Object
- - org.eigenbase.resgen.FileTask
  - - org.eigenbase.resgen.XmlFileTask

    class XmlFileTask
    extends FileTask

Ant task which processes an XML file and generates a C++ or Java class from the resources in it.

Since:
  19 September, 2005
Version:
  $Id: //open/util/resgen/src/org/eigenbase/resgen/XmlFileTask.java#12 $
Author:
  jhyde

### Field Summary

Fields
`(package private) java.lang.String` `baseClassName`
`(package private) java.lang.String` `cppBaseClassName`

### Fields inherited from class org.eigenbase.resgen.FileTask

`className, cppClassName, fileName, include, outputCpp, outputJava`

### Constructor Summary

Constructors
`XmlFileTask​(ResourceGenTask.Include include, java.lang.String fileName, java.lang.String className, java.lang.String baseClassName, boolean outputJava, java.lang.String cppClassName, java.lang.String cppBaseClassName, boolean outputCpp)`

### Method Summary

All Methods Instance Methods Concrete Methods
`protected void` `generateCpp​(ResourceGen generator, ResourceDef.ResourceBundle resourceList)`
`(package private) void` `process​(ResourceGen generator)`

### Methods inherited from class org.eigenbase.resgen.FileTask

`checkUpToDate, configureCommentStyle, generateJava, getDestDirectory, getFile, getFileForComments, getResourceDirectory, getSrcDirectory, makeParentDirs`

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

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

### Field Detail

#### baseClassName

    final java.lang.String baseClassName

#### cppBaseClassName

    final java.lang.String cppBaseClassName

### Constructor Detail

#### XmlFileTask

    XmlFileTask​(ResourceGenTask.Include include,
                java.lang.String fileName,
                java.lang.String className,
                java.lang.String baseClassName,
                boolean outputJava,
                java.lang.String cppClassName,
                java.lang.String cppBaseClassName,
                boolean outputCpp)

### Method Detail

#### process

    void process​(ResourceGen generator)
          throws java.io.IOException

Specified by:
  `process` in class `FileTask`
Throws:
  `java.io.IOException`

#### generateCpp

    protected void generateCpp​(ResourceGen generator,
                               ResourceDef.ResourceBundle resourceList)