uk.nominet.catnap.profile
Class CatnapProfile

java.lang.Object
  extended byuk.nominet.catnap.profile.CatnapProfile
All Implemented Interfaces:
CatnapOperationProfileContainer

public class CatnapProfile
extends java.lang.Object
implements CatnapOperationProfileContainer

Container for a catnap profile. Essentially groups up a number of top level operation profiles, with a nice write profile to stream method


Constructor Summary
CatnapProfile()
           
 
Method Summary
 void addSubOperationProfile(CatnapOperationProfile cop)
          Implementation of add sub operation profile.
 void writeToStream(java.io.OutputStream outputStream)
          Emit the contents of all profiles to the passed stream in a nice format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatnapProfile

public CatnapProfile()
Method Detail

addSubOperationProfile

public void addSubOperationProfile(CatnapOperationProfile cop)
Implementation of add sub operation profile.

Specified by:
addSubOperationProfile in interface CatnapOperationProfileContainer
Parameters:
cop -

writeToStream

public void writeToStream(java.io.OutputStream outputStream)
                   throws java.io.IOException
Emit the contents of all profiles to the passed stream in a nice format.

Parameters:
outputStream -
Throws:
java.io.IOException