org.apache.xml.security.keys.content
Class KeyInfoReference

java.lang.Object
  extended by org.apache.xml.security.utils.ElementProxy
      extended by org.apache.xml.security.utils.Signature11ElementProxy
          extended by org.apache.xml.security.keys.content.KeyInfoReference
All Implemented Interfaces:
KeyInfoContent

public class KeyInfoReference
extends Signature11ElementProxy
implements KeyInfoContent

Provides content model support for the dsig11:KeyInfoReference element.

Author:
Brent Putman (putmanb@georgetown.edu)

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, log
 
Constructor Summary
KeyInfoReference(Document doc, String uri)
          Constructor RetrievalMethod
KeyInfoReference(Element element, String baseURI)
          Constructor RetrievalMethod
 
Method Summary
 String getBaseLocalName()
          Returns the localname of the Elements of the sub-class.
 String getId()
          Returns the Id attribute
 String getURI()
          Method getURI
 Attr getURIAttr()
          Method getURIAttr
 void setId(String id)
          Sets the Id attribute
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyInfoReference

public KeyInfoReference(Element element,
                        String baseURI)
                 throws XMLSecurityException
Constructor RetrievalMethod

Parameters:
element -
baseURI -
Throws:
XMLSecurityException

KeyInfoReference

public KeyInfoReference(Document doc,
                        String uri)
Constructor RetrievalMethod

Parameters:
doc -
uri -
Method Detail

getURIAttr

public Attr getURIAttr()
Method getURIAttr

Returns:
the URI attribute

getURI

public String getURI()
Method getURI

Returns:
URI string

setId

public void setId(String id)
Sets the Id attribute

Parameters:
id - ID

getId

public String getId()
Returns the Id attribute

Returns:
the Id attribute

getBaseLocalName

public String getBaseLocalName()
Description copied from class: ElementProxy
Returns the localname of the Elements of the sub-class.

Specified by:
getBaseLocalName in class ElementProxy
Returns:
the localname of the Elements of the sub-class.


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.