public class Reference extends Object
Reference
represents the Direct Reference
of the security token.Constructor and Description |
---|
Reference(Element element)
Constructor
|
Reference(String uri)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addToParent(Element parent)
Adds the reference to parent element.
|
String |
getURI()
Returns the
URI set in the Reference. |
String |
getValueType()
Returns the value type of the security token.
|
void |
setURI(String uri)
Sets the
URI to the Reference. |
void |
setValueType(String valueType)
Sets the value type of the token.
|
public Reference(String uri)
uri
- the URI
of the security token.public Reference(Element element) throws SecurityException
element
- the reference elementSecurityException
- if parsing is failed.public String getURI()
URI
set in the Reference.URI
public void setURI(String uri)
URI
to the Reference.uri
- the refence URI
public String getValueType()
public void setValueType(String valueType)
valueType
- value type of the token.public void addToParent(Element parent) throws SecurityException
parent
- the parent node that reference needs to be added.SecurityException
- if there is a failure.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.