at.ac.tuwien.infosys.sm4all.copal.rest.provider
Class XMLRESTfulPublisherReader

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.rest.provider.XMLReader<RESTfulPublisher>
      extended by at.ac.tuwien.infosys.sm4all.copal.rest.provider.XMLRESTfulPublisherReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<RESTfulPublisher>

public class XMLRESTfulPublisherReader
extends XMLReader<RESTfulPublisher>
implements javax.ws.rs.ext.MessageBodyReader<RESTfulPublisher>

A RESTfulPublisher XMLReader.

Author:
sanjin

Constructor Summary
XMLRESTfulPublisherReader()
          Creates instance of RESTfulPublisher XMLReader.
 
Method Summary
protected  RESTfulPublisher unmarshal(org.w3c.dom.Element element)
          Unmarshal a value from specified Element.
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.rest.provider.XMLReader
isReadable, readFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ws.rs.ext.MessageBodyReader
isReadable, readFrom
 

Constructor Detail

XMLRESTfulPublisherReader

public XMLRESTfulPublisherReader()
Creates instance of RESTfulPublisher XMLReader.

Method Detail

unmarshal

protected RESTfulPublisher unmarshal(org.w3c.dom.Element element)
                              throws FailedUnmarshallingException
Description copied from class: XMLReader
Unmarshal a value from specified Element.

Specified by:
unmarshal in class XMLReader<RESTfulPublisher>
Parameters:
element - the Element used for unmarshalling.
Returns:
value the unmarshaled value.
Throws:
FailedUnmarshallingException - if unmarshalling was unsuccessful.


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