RetrievalMethodpublic class RetrievalMethod extends SignatureElementProxy implements KeyInfoContent
Fields Summary |
---|
static Logger | log{@link java.util.logging} logging facility | public static final String | TYPE_DSADSA retrieval | public static final String | TYPE_RSARSA retrieval | public static final String | TYPE_PGPPGP retrieval | public static final String | TYPE_SPKISPKI retrieval | public static final String | TYPE_MGMTMGMT retrieval | public static final String | TYPE_X509X509 retrieval | public static final String | TYPE_RAWX509RAWX509 retrieval |
Constructors Summary |
---|
public RetrievalMethod(Element element, String BaseURI)Constructor RetrievalMethod
//J+
super(element, BaseURI);
| public RetrievalMethod(Document doc, String URI, Transforms transforms, String Type)Constructor RetrievalMethod
super(doc);
this._constructionElement.setAttributeNS(null, Constants._ATT_URI, URI);
if (Type != null) {
this._constructionElement.setAttributeNS(null, Constants._ATT_TYPE, Type);
}
if (transforms != null) {
this._constructionElement.appendChild(transforms.getElement());
XMLUtils.addReturnToElement(this._constructionElement);
}
|
Methods Summary |
---|
public java.lang.String | getBaseLocalName()
return Constants._TAG_RETRIEVALMETHOD;
| public com.sun.org.apache.xml.internal.security.transforms.Transforms | getTransforms()Method getTransforms
try {
Element transformsElem =
XMLUtils.selectDsNode(this._constructionElement,
Constants
._TAG_TRANSFORMS, 0);
if (transformsElem != null) {
return new Transforms(transformsElem, this._baseURI);
}
return null;
} catch (XMLSignatureException ex) {
throw new XMLSecurityException("empty", ex);
}
| public java.lang.String | getType()
return this._constructionElement.getAttributeNS(null, Constants._ATT_TYPE);
| public java.lang.String | getURI()Method getURI
return this.getURIAttr().getNodeValue();
| public org.w3c.dom.Attr | getURIAttr()Method getURIAttr
return this._constructionElement.getAttributeNodeNS(null, Constants._ATT_URI);
|
|