All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.commons.encoding.Encodable Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.commons.encoding;

import java.io.IOException;

/**
 * This interface indicates that an object can be encoded into into a byte array so it can be streamed.
 * 
 * 

* By implementing this interface you are agreeing to provide a constructor with a single argument of * type {@link DataInputExtended}, which create an instance from the stream. */ public interface Encodable { /** * Returns the domain object's value as an encoded byte array via the encoder. */ void encode(DataOutputExtended outputStream) throws IOException; } // Copyright (c) Naked Objects Group Ltd.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy