Code example for DOMStructure

0
     * @param mimeType 
     * @param encoding 
     * @return 
     */ 
    public XmlSignatureBuilder withObject(Node node, String id, String mimeType, String encoding) {
        objects.add(xmlSignatureFactory.newXMLObject(Collections.singletonList(new DOMStructure(node)), id, mimeType, encoding));
        return this;
    } 
} 
Experience pair programming with AI  Get Codota for Java