Class KeyInfoReference
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.Signature11ElementProxy
-
- org.apache.xml.security.keys.content.KeyInfoReference
-
- All Implemented Interfaces:
KeyInfoContent
public class KeyInfoReference extends Signature11ElementProxy implements KeyInfoContent
Provides content model support for thedsig11:KeyInfoReferenceelement.
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description KeyInfoReference(org.w3c.dom.Document doc, java.lang.String uri)Constructor RetrievalMethodKeyInfoReference(org.w3c.dom.Element element, java.lang.String baseURI)Constructor RetrievalMethod
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseLocalName()Returns the localname of the Elements of the sub-class.java.lang.StringgetId()Returns theIdattributejava.lang.StringgetURI()Method getURIorg.w3c.dom.AttrgetURIAttr()Method getURIAttrvoidsetId(java.lang.String id)Sets theIdattribute-
Methods inherited from class org.apache.xml.security.utils.Signature11ElementProxy
getBaseNamespace
-
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
-
-
-
Constructor Detail
-
KeyInfoReference
public KeyInfoReference(org.w3c.dom.Element element, java.lang.String baseURI) throws XMLSecurityExceptionConstructor RetrievalMethod- Parameters:
element-baseURI-- Throws:
XMLSecurityException
-
KeyInfoReference
public KeyInfoReference(org.w3c.dom.Document doc, java.lang.String uri)Constructor RetrievalMethod- Parameters:
doc-uri-
-
-
Method Detail
-
getURIAttr
public org.w3c.dom.Attr getURIAttr()
Method getURIAttr- Returns:
- the URI attribute
-
getURI
public java.lang.String getURI()
Method getURI- Returns:
- URI string
-
setId
public void setId(java.lang.String id)
Sets theIdattribute- Parameters:
id- ID
-
getId
public java.lang.String getId()
Returns theIdattribute- Returns:
- the
Idattribute
-
getBaseLocalName
public java.lang.String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
-