AbstractXStreamTransformer (Mule ESB 2.2.1 API)
Keywords: org.mule.module.xml.transformer.AbstractXStreamTransformer class

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

## org.mule.module.xml.transformer
Class AbstractXStreamTransformer

    java.lang.Object
      org.mule.transformer.AbstractTransformer
          org.mule.transformer.AbstractMessageAwareTransformer
              org.mule.module.xml.transformer.AbstractXStreamTransformer

All Implemented Interfaces:
  Initialisable, NamedObject, BaseTransformer, Transformer

Direct Known Subclasses:
  ObjectToXml, XmlToObject

    public abstract class AbstractXStreamTransformer

extends AbstractMessageAwareTransformer

`AbstractXStreamTransformer` is a base class for all XStream based transformers. It takes care of creating and configuring the XStream parser.

Field Summary

Fields inherited from class org.mule.transformer.AbstractTransformer
`DEFAULT_TRUNCATE_LENGTH, endpoint, logger, name, returnClass, sourceTypes`

Fields inherited from interface org.mule.api.lifecycle.Initialisable
`PHASE_NAME`

Constructor Summary
`AbstractXStreamTransformer()`

Method Summary
`Object` | `clone()`
`Map` | `getAliases()`
`List` | `getConverters()`
`String` | `getDriverClassName()`
`com.thoughtworks.xstream.XStream` | `getXStream()`
`protected boolean` | `requiresCurrentEvent()`
`void` | `setAliases(Map aliases)`
`void` | `setConverters(List converters)`
`void` | `setDriverClassName(String driverClassName)`

Methods inherited from class org.mule.transformer.AbstractMessageAwareTransformer
`doTransform, isSourceTypeSupported, transform`

Methods inherited from class org.mule.transformer.AbstractTransformer
`checkReturnClass, generateTransformerName, getEndpoint, getName, getReturnClass, getSourceTypes, initialise, isAcceptNull, isConsumed, isIgnoreBadInput, isSourceTypeSupported, registerSourceType, setEndpoint, setIgnoreBadInput, setName, setReturnClass, toString, transform, unregisterSourceType`

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

Constructor Detail

### AbstractXStreamTransformer

    public AbstractXStreamTransformer()

Method Detail

### getXStream

    public final com.thoughtworks.xstream.XStream getXStream()
                                                      throws TransformerException

  Throws:
    `TransformerException`

### clone

    public Object clone()
                 throws CloneNotSupportedException

  Overrides:
    `clone` in class `Object`
  Throws:
    `CloneNotSupportedException`

### getDriverClassName

    public String getDriverClassName()

### setDriverClassName

    public void setDriverClassName(String driverClassName)

### getAliases

    public Map getAliases()

### setAliases

    public void setAliases(Map aliases)

### getConverters

    public List getConverters()

### setConverters

    public void setConverters(List converters)

### requiresCurrentEvent

    protected boolean requiresCurrentEvent()

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

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.