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

## groovy.xml
Class StaxBuilder

    java.lang.Object
      groovy.lang.GroovyObjectSupport
          groovy.util.BuilderSupport
              groovy.xml.StaxBuilder

    class StaxBuilder
    extends BuilderSupport

Groovy builder that works with Stax processors

author:
  Dejan Bosanac

author:
  Paul King

Property Summary
`def` | `writer`

Constructor Summary
`StaxBuilder(def xmlstreamwriter)`

Method Summary
`protected def` | `createNode(def name)`
`protected def` | `createNode(def name, def value)`
`protected def` | `createNode(def name, Map attributes)`
`protected def` | `createNode(def name, Map attributes, def value)`
`protected void` | `nodeCompleted(def parent, def node)`
`protected void` | `setParent(def parent, def child)`

Methods inherited from class BuilderSupport
createNode, createNode, createNode, createNode, doInvokeMethod, getCurrent, getName, invokeMethod, invokeMethod, nodeCompleted, postNodeCompletion, setClosureDelegate, setCurrent, setParent

Methods inherited from class GroovyObjectSupport
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty

Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Property Detail

### writer

    def writer

Constructor Detail

### StaxBuilder

    public StaxBuilder(def xmlstreamwriter)

Method Detail

### createNode

    protected def createNode(def name)

### createNode

    protected def createNode(def name, def value)

### createNode

    protected def createNode(def name, Map attributes)

### createNode

    protected def createNode(def name, Map attributes, def value)

### nodeCompleted

    protected void nodeCompleted(def parent, def node)

### setParent

    protected void setParent(def parent, def child)

Copyright © 2003-2009 The Codehaus. All rights reserved.