|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.xml.security.ReferencedData
Class for represent data referenced by Reference
element. The
data object is able to provide it content as element
or a byte
array. Note that tokenizer is stream based, it may be used only once.
Constructor Summary | |
ReferencedData(byte[] bytesData)
Constructor for the ReferencedData object |
|
ReferencedData(Tokenizer tokenizerData)
Constructor for the ReferencedData object |
Method Summary | |
byte[] |
getBytes()
Returns the byte array data of this object. |
Tokenizer |
getTokenizer()
Returns the tokenizer that represents this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReferencedData(byte[] bytesData)
bytesData
- byte array representing datapublic ReferencedData(Tokenizer tokenizerData)
tokenizerData
- tokenizer representing dataMethod Detail |
public byte[] getBytes() throws SignatureException
SignatureException
- Error when converting from tokenizer or
when an IOException occurspublic Tokenizer getTokenizer() throws SignatureException
SignatureException
- Error when converting from tokenizer or
when an IOException occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |