com.sun.ebxml.registry.repository
Class RepositoryItem

java.lang.Object
  |
  +--com.sun.ebxml.registry.repository.RepositoryItem

public class RepositoryItem
extends java.lang.Object

Repository item wrapper.

Version:
$Version: $ [$Date: 2003/03/18 07:56:08 $]
Author:
Adrian Chong, Peter Burgess

Constructor Summary
RepositoryItem(java.lang.String id, java.lang.String signature, javax.activation.DataHandler handler)
          Constructor.
RepositoryItem(java.lang.String id, org.apache.xml.security.signature.XMLSignature signature, javax.activation.DataHandler handler)
          Constructor.
 
Method Summary
 javax.activation.DataHandler getDataHandler()
           
 java.lang.String getId()
           
 org.apache.xml.security.signature.XMLSignature getSignature()
           
 int getSize()
          Return the size of of the repository item in bytes.
 void setId(java.lang.String id)
           
 java.lang.String signatureToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryItem

public RepositoryItem(java.lang.String id,
                      org.apache.xml.security.signature.XMLSignature signature,
                      javax.activation.DataHandler handler)
Constructor.


RepositoryItem

public RepositoryItem(java.lang.String id,
                      java.lang.String signature,
                      javax.activation.DataHandler handler)
Constructor.

Method Detail

getSize

public int getSize()
            throws java.io.IOException
Return the size of of the repository item in bytes.

java.io.IOException

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getSignature

public org.apache.xml.security.signature.XMLSignature getSignature()

signatureToString

public java.lang.String signatureToString()

getDataHandler

public javax.activation.DataHandler getDataHandler()


Copyright © 2001-2003 OASIS. All Rights Reserved.