Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.optional.pipeline.components.sax.jaxb
Class JAXBGenerator

    java.lang.Object
      org.apache.cocoon.pipeline.component.AbstractPipelineComponent
          org.apache.cocoon.sax.AbstractSAXPipelineComponent
              org.apache.cocoon.sax.AbstractSAXProducer
                  org.apache.cocoon.sax.AbstractSAXGenerator
                      org.apache.cocoon.optional.pipeline.components.sax.jaxb.JAXBGenerator

All Implemented Interfaces:
  CachingPipelineComponent, PipelineComponent, Producer, Starter, SAXPipelineComponent, SAXProducer

    public class JAXBGenerator

extends AbstractSAXGenerator
implements CachingPipelineComponent

SAX generator that produces SAX events from Object using the JAXB marshaller.

Constructor Summary
`JAXBGenerator(GenericType<?> toBeMarshalled)`

Method Summary
`CacheKey` | `constructCacheKey()`
`void` | `execute()`
`String` | `getCharset()`
`boolean` | `isFormattedOutput()`
`void` | `setCharset(String charset)`
`void` | `setFormattedOutput(boolean formattedOutput)`
`String` | `toString()`

Methods inherited from class org.apache.cocoon.sax.AbstractSAXProducer
`getSAXConsumer, setConsumer, setSAXConsumer`

Methods inherited from class org.apache.cocoon.pipeline.component.AbstractPipelineComponent
`finish, setConfiguration, setup`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface org.apache.cocoon.pipeline.component.PipelineComponent
`finish, setConfiguration, setup`

Constructor Detail

### JAXBGenerator

    public JAXBGenerator(GenericType<?> toBeMarshalled)

Method Detail

### getCharset

    public String getCharset()

### setCharset

    public void setCharset(String charset)

### isFormattedOutput

    public boolean isFormattedOutput()

### setFormattedOutput

    public void setFormattedOutput(boolean formattedOutput)

### execute

    public void execute()

  Specified by:
    `execute` in interface `Starter`

### constructCacheKey

    public CacheKey constructCacheKey()

  Specified by:
    `constructCacheKey` in interface `CachingPipelineComponent`

### toString

    public String toString()

  Overrides:
    `toString` in class `AbstractSAXProducer`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.