at.ac.tuwien.infosys.sm4all.copal.api.xml
Class BaseUnmarshallerBuilder<T>

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.BaseMarshallerBuilder<T>
      extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.BaseUnmarshallerBuilder<T>
Type Parameters:
T - the type of Unmarshaller built.
All Implemented Interfaces:
MarshallerBuilder<T>, UnmarshallerBuilder<T>
Direct Known Subclasses:
Attribute.Builder, AttributeUnmarshaller.Builder, AuthorizationUnmarshaller.Builder, ContextEventTypeUnmarshaller.Builder, CurrentActionUnmarshaller.Builder, DefaultActionUnmarshaller.Builder, ProcessedActionUnmarshaller.Builder, ProcessedEventQueryUnmarshaller.Builder, ProcessorActionUnmarshaller.Builder, SchemaURLUnmarshaller.Builder, UnprocessedActionUnmarshaller.Builder, XMLContextEventTypeUnmarshaller.Builder

public abstract class BaseUnmarshallerBuilder<T>
extends BaseMarshallerBuilder<T>
implements UnmarshallerBuilder<T>

Base abstract class for implementations of UnmarshallerBuilder to use.

Author:
sanjin

Constructor Summary
protected BaseUnmarshallerBuilder()
          Create uninitialized instance of BaseUnmarshallerBuilder.
protected BaseUnmarshallerBuilder(BaseUnmarshallerBuilder<T> builder)
          Clone-constructor.
 
Method Summary
protected abstract  BaseUnmarshallerBuilder<T> copy()
          Create instance of BaseUnmarshallerBuilder by copying this BaseUnmarshallerBuilder.
 BaseUnmarshallerBuilder<T> withElement(org.w3c.dom.Element element)
          Create instance of BaseUnmarshallerBuilder that will build Unmarshallers that will marshal values to specified Element.
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.api.xml.BaseMarshallerBuilder
getElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface at.ac.tuwien.infosys.sm4all.copal.api.xml.UnmarshallerBuilder
build
 

Constructor Detail

BaseUnmarshallerBuilder

protected BaseUnmarshallerBuilder()
Create uninitialized instance of BaseUnmarshallerBuilder.


BaseUnmarshallerBuilder

protected BaseUnmarshallerBuilder(BaseUnmarshallerBuilder<T> builder)
Clone-constructor.

Parameters:
builder - the cloned BaseUnmarshallerBuilder.
Method Detail

copy

protected abstract BaseUnmarshallerBuilder<T> copy()
Create instance of BaseUnmarshallerBuilder by copying this BaseUnmarshallerBuilder.

Specified by:
copy in class BaseMarshallerBuilder<T>
Returns:
an BaseUnmarshallerBuilder.

withElement

public BaseUnmarshallerBuilder<T> withElement(org.w3c.dom.Element element)
Create instance of BaseUnmarshallerBuilder that will build Unmarshallers that will marshal values to specified Element.

Specified by:
withElement in interface MarshallerBuilder<T>
Specified by:
withElement in interface UnmarshallerBuilder<T>
Overrides:
withElement in class BaseMarshallerBuilder<T>
Parameters:
element - the Element.
Returns:
an BaseUnmarshallerBuilder.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.