|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Serializer
Converts Strings into Nodes and visa versa.
| Method Summary | |
|---|---|
String |
canonSerialize(Node node)
Deprecated. |
byte[] |
canonSerializeToByteArray(Node node)
Use the Canonicalizer to serialize the node |
Node |
deserialize(byte[] source,
Node ctx)
|
Node |
deserialize(String source,
Node ctx)
Deprecated. |
String |
serialize(Element element)
Deprecated. |
String |
serialize(NodeList content)
Deprecated. |
byte[] |
serializeToByteArray(Element element)
Returns a byte[] representation of the specified
Element. |
byte[] |
serializeToByteArray(NodeList content)
Returns a byte[] representation of the specified
NodeList. |
void |
setCanonicalizer(Canonicalizer canon)
Set the Canonicalizer object to use. |
| Method Detail |
|---|
void setCanonicalizer(Canonicalizer canon)
@Deprecated
String serialize(Element element)
throws Exception
String representation of the specified
Element.
element - the Element to serialize.
String representation of the serilaized
Element.
Exception
byte[] serializeToByteArray(Element element)
throws Exception
byte[] representation of the specified
Element.
element - the Element to serialize.
byte[] representation of the serilaized
Element.
Exception
@Deprecated
String serialize(NodeList content)
throws Exception
String representation of the specified
NodeList.
content - the NodeList to serialize.
String representation of the serialized
NodeList.
Exception
byte[] serializeToByteArray(NodeList content)
throws Exception
byte[] representation of the specified
NodeList.
content - the NodeList to serialize.
byte[] representation of the serialized
NodeList.
Exception
@Deprecated
String canonSerialize(Node node)
throws Exception
node -
Exception
byte[] canonSerializeToByteArray(Node node)
throws Exception
node -
Exception
@Deprecated
Node deserialize(String source,
Node ctx)
throws XMLEncryptionException
source - ctx -
XMLEncryptionException
Node deserialize(byte[] source,
Node ctx)
throws XMLEncryptionException
source - ctx -
XMLEncryptionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||