Lines Matching refs:objElem
87 * @param objElem an Object element
90 public DOMXMLObject(Element objElem, XMLCryptoContext context,
95 this.encoding = DOMUtils.getAttributeValue(objElem, "Encoding");
97 Attr attr = objElem.getAttributeNodeNS(null, "Id");
100 objElem.setIdAttributeNode(attr, true);
104 this.mimeType = DOMUtils.getAttributeValue(objElem, "MimeType");
106 NodeList nodes = objElem.getChildNodes();
133 this.objectElem = objElem;
156 Element objElem = objectElem != null ? objectElem : null;
157 if (objElem == null) {
158 objElem = DOMUtils.createElement(ownerDoc, "Object",
162 DOMUtils.setAttributeID(objElem, "Id", id);
163 DOMUtils.setAttribute(objElem, "MimeType", mimeType);
164 DOMUtils.setAttribute(objElem, "Encoding", encoding);
169 ((DOMStructure)object).marshal(objElem, dsPrefix, context);
173 DOMUtils.appendChild(objElem, domObject.getNode());
178 parent.appendChild(objElem);