Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.gradle.plugins.ide.idea.model
[Groovy] Class IdeaProjectIpr

    java.lang.Object
      org.gradle.plugins.ide.idea.model.IdeaProjectIpr

    class IdeaProjectIpr
    extends java.lang.Object

Models the generation/parsing/merging capabilities of idea project

For example see docs for IdeaProject

Author: Szczepan Faber, created at: 4/5/11

Property Summary
`org.gradle.api.internal.XmlTransformer` | `xmlTransformer`

Method Summary
`void` | `withXml(groovy.lang.Closure closure)` Adds a closure to be called when the *.ipr document has been created.

Methods inherited from class java.lang.Object
java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString()

Property Detail

### xmlTransformer

    org.gradle.api.internal.XmlTransformer xmlTransformer

Method Detail

### withXml

    void withXml(groovy.lang.Closure closure)

  Adds a closure to be called when the *.ipr document has been created. The XML is passed to the closure as a parameter in form of a XmlProvider. The closure can modify the XML before it is written to the output file.

  For example see docs for IdeaProject

  Parameters:
    `closure` - The closure to execute when the XML has been created.

Groovy Documentation