biz.c24.io.api.presentation
Class FixedLengthSource

java.lang.Object
  extended by biz.c24.io.api.presentation.Source
      extended by biz.c24.io.api.presentation.FixedLengthSource
All Implemented Interfaces:
Serializable, Cloneable

public class FixedLengthSource
extends Source

Created by IntelliJ IDEA. User: divanmostert Date: 10/04/2012 Time: 08:35 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Constructor Summary
FixedLengthSource()
           
 
Method Summary
 Object clone()
           
 void readObject(ComplexDataObject object)
          Reads an object from the the reader or input stream that has been set (optional operation).
 ComplexDataObject readObject(Element element)
          Reads an object from the the reader or input stream that has been set.
 void setSource(byte[] source)
           
 
Methods inherited from class biz.c24.io.api.presentation.Source
checkInit, getEncoding, getInputStream, getMarkableInputStream, getParseListener, getReader, getSystemId, reader, ready, setEncoding, setInputStream, setInputStream, setParseListener, setReader, setReader, setSystemId, stream
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedLengthSource

public FixedLengthSource()
Method Detail

setSource

public void setSource(byte[] source)

readObject

public void readObject(ComplexDataObject object)
                throws IOException
Description copied from class: Source
Reads an object from the the reader or input stream that has been set (optional operation).

Specified by:
readObject in class Source
Parameters:
object - The object into which the input data should be parsed.
Throws:
IOException - If the complete object could not be read for any reason.

readObject

public ComplexDataObject readObject(Element element)
                             throws IOException
Description copied from class: Source
Reads an object from the the reader or input stream that has been set.

Specified by:
readObject in class Source
Parameters:
element - The element declaration to which the input data is expected to adhere.
Returns:
The newly created object.
Throws:
IOException - If the complete object could not be read for any reason.

clone

public Object clone()
Specified by:
clone in class Source


C24 Technologies © 2002-2012: All Rights Reserved.