|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.signature.impl.SignatureMarshaller
public class SignatureMarshaller
A marshaller for Signature
objects. This marshaller is really a no-op class. All
the creation of the signature DOM elements is handled by Signer
when it signs the
object.
Field Summary | |
---|---|
private Logger |
log
Class logger. |
Constructor Summary | |
---|---|
SignatureMarshaller()
Constructor. |
Method Summary | |
---|---|
private Element |
createSignatureElement(Signature signature,
Document document)
Creates the signature elements but does not compute the signatuer. |
Element |
marshall(XMLObject xmlObject)
Marshall this element, and its children, and root them in a newly created Document. |
Element |
marshall(XMLObject xmlObject,
Document document)
Marshall this element, and its children, into a W3C DOM element. |
Element |
marshall(XMLObject xmlObject,
Element parentElement)
Marshall the given XMLObject and append it as a child to the given parent element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Logger log
Constructor Detail |
---|
public SignatureMarshaller()
Method Detail |
---|
public Element marshall(XMLObject xmlObject) throws MarshallingException
DocumentBuilder
obtained from a DocumentBuilderFactory
created without any additional parameters or properties set; that is the system defaults properties are used.
marshall
in interface Marshaller
xmlObject
- the object to marshall
MarshallingException
- thrown if there is a problem marshalling the given objectpublic Element marshall(XMLObject xmlObject, Element parentElement) throws MarshallingException
marshall
in interface Marshaller
xmlObject
- the XMLObject to be marshalledparentElement
- the parent of the Element resulting from marshalling the given XMLObject
MarshallingException
- thrown if the given XMLObject can not be marshalled.public Element marshall(XMLObject xmlObject, Document document) throws MarshallingException
marshall
in interface Marshaller
xmlObject
- the object to marshalldocument
- the DOM document the marshalled element will be placed in
MarshallingException
- thrown if there is a problem marshalling the given objectprivate Element createSignatureElement(Signature signature, Document document) throws MarshallingException
signature
- the XMLObject to be signeddocument
- the owning document
MarshallingException
- thrown if the signature can not be constructed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |