org.w3.xmldsig
Class Reference

java.lang.Object
  extended by org.w3.xmldsig.Reference
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Reference
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for ReferenceType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ReferenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}Transforms" minOccurs="0"/>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestMethod"/>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}DigestValue"/>
       </sequence>
       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  DigestMethod digestMethod
           
protected  byte[] digestValue
           
protected  String id
           
protected  Transforms transforms
           
protected  String type
           
protected  String uri
           
 
Constructor Summary
Reference()
          Default no-arg constructor
Reference(Transforms transforms, DigestMethod digestMethod, byte[] digestValue, String id, String uri, String type)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 DigestMethod getDigestMethod()
          Gets the value of the digestMethod property.
 byte[] getDigestValue()
          Gets the value of the digestValue property.
 String getId()
          Gets the value of the id property.
 Transforms getTransforms()
          Gets the value of the transforms property.
 String getType()
          Gets the value of the type property.
 String getURI()
          Gets the value of the uri property.
 void setDigestMethod(DigestMethod value)
          Sets the value of the digestMethod property.
 void setDigestValue(byte[] value)
          Sets the value of the digestValue property.
 void setId(String value)
          Sets the value of the id property.
 void setTransforms(Transforms value)
          Sets the value of the transforms property.
 void setType(String value)
          Sets the value of the type property.
 void setURI(String value)
          Sets the value of the uri property.
 String toString()
           
 Reference withDigestMethod(DigestMethod value)
           
 Reference withDigestValue(byte[] value)
           
 Reference withId(String value)
           
 Reference withTransforms(Transforms value)
           
 Reference withType(String value)
           
 Reference withURI(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

transforms

protected Transforms transforms

digestMethod

protected DigestMethod digestMethod

digestValue

protected byte[] digestValue

id

protected String id

uri

protected String uri

type

protected String type
Constructor Detail

Reference

public Reference()
Default no-arg constructor


Reference

public Reference(Transforms transforms,
                 DigestMethod digestMethod,
                 byte[] digestValue,
                 String id,
                 String uri,
                 String type)
Fully-initialising value constructor

Method Detail

getTransforms

public Transforms getTransforms()
Gets the value of the transforms property.

Returns:
possible object is Transforms

setTransforms

public void setTransforms(Transforms value)
Sets the value of the transforms property.

Parameters:
value - allowed object is Transforms

getDigestMethod

public DigestMethod getDigestMethod()
Gets the value of the digestMethod property.

Returns:
possible object is DigestMethod

setDigestMethod

public void setDigestMethod(DigestMethod value)
Sets the value of the digestMethod property.

Parameters:
value - allowed object is DigestMethod

getDigestValue

public byte[] getDigestValue()
Gets the value of the digestValue property.

Returns:
possible object is byte[]

setDigestValue

public void setDigestValue(byte[] value)
Sets the value of the digestValue property.

Parameters:
value - allowed object is byte[]

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getURI

public String getURI()
Gets the value of the uri property.

Returns:
possible object is String

setURI

public void setURI(String value)
Sets the value of the uri property.

Parameters:
value - allowed object is String

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withTransforms

public Reference withTransforms(Transforms value)

withDigestMethod

public Reference withDigestMethod(DigestMethod value)

withDigestValue

public Reference withDigestValue(byte[] value)

withId

public Reference withId(String value)

withURI

public Reference withURI(String value)

withType

public Reference withType(String value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.