Class XmlWriter.ToMarshal<CLZ extends javax.xml.crypto.XMLStructure>

  • Type Parameters:
    CLZ -
    Enclosing interface:
    XmlWriter

    public abstract static class XmlWriter.ToMarshal<CLZ extends javax.xml.crypto.XMLStructure>
    extends java.lang.Object
    Utility class that brings together the class, and the method for marshaling an instance of said class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Class<CLZ> clazzToMatch  
    • Constructor Summary

      Constructors 
      Constructor Description
      ToMarshal​(java.lang.Class<CLZ> clazzToMatch)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void marshalObject​(XmlWriter xwriter, CLZ toMarshal, java.lang.String dsPrefix, javax.xml.crypto.XMLCryptoContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • clazzToMatch

        public final java.lang.Class<CLZ extends javax.xml.crypto.XMLStructure> clazzToMatch
    • Constructor Detail

      • ToMarshal

        public ToMarshal​(java.lang.Class<CLZ> clazzToMatch)
    • Method Detail

      • marshalObject

        public abstract void marshalObject​(XmlWriter xwriter,
                                           CLZ toMarshal,
                                           java.lang.String dsPrefix,
                                           javax.xml.crypto.XMLCryptoContext context)
                                    throws javax.xml.crypto.MarshalException
        Throws:
        javax.xml.crypto.MarshalException