public class DSTData extends Object
DSTData
class provides a wrapper for any data entry.
The following schema fragment specifies the expected content within
the DSTData
object.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any/> </sequence> <attribute name="itemIDRef" type="{urn:liberty:idpp:2003-08}IDReferenceType" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
DSTData(Element element)
Constructor
|
DSTData(List data,
String serviceNS)
Constructor
|
Modifier and Type | Method and Description |
---|---|
List |
getData()
Gets the returned data objects.
|
String |
getId()
Gets id attribute.
|
String |
getItemIDRef()
Gets item reference.
|
String |
getNameSpacePrefix()
Gets the name space prefix.
|
String |
getNameSpaceURI()
Gets the name space.
|
void |
setId(String id)
Sets id attribute
|
void |
setItemIDRef(String ref)
Sets item reference.
|
void |
setNameSpacePrefix(String prefix)
Sets the name space prefix.
|
void |
setNameSpaceURI(String nameSpace)
Sets the name space.
|
String |
toString()
Creates a String representation of this object.
|
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of this object.
|
public DSTData(List data, String serviceNS)
data
- List of data XML DOM
Elements.serviceNS
- service nameSpacepublic DSTData(Element element) throws DSTException
element
- DOM
ElementDSTException
- If there was an error while parsing the XML.public String getId()
public void setId(String id)
id
- attributepublic String getItemIDRef()
public void setItemIDRef(String ref)
ref
- reference item.public List getData()
java.lang.Object
.public String getNameSpaceURI()
public void setNameSpaceURI(String nameSpace)
nameSpace
- NameSpace URIpublic void setNameSpacePrefix(String prefix)
prefix
- NameSpace prefix.public String getNameSpacePrefix()
public String toString()
public String toString(boolean includeNS, boolean declareNS)
includeNS
- if true prepends all elements by their Namespace prefixdeclareNS
- if true includes the namespace within the
generated.Copyright © 2010-2018, ForgeRock All Rights Reserved.