/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: DSTData.java,v 1.2 2008/06/25 05:47:13 qcheng Exp $
*
*/
/**
* The <code>DSTData</code> class provides a wrapper for any data entry.
*
* The following schema fragment specifies the expected content within
* the <code>DSTData</code> object.
* <pre>
* <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>
* </pre>
*
* @supported.all.api
*/
public class DSTData {
/**
* Constructor
* @param data List of data XML <code>DOM</code> Elements.
* @param serviceNS service nameSpace
*/
}
}
/**
* Constructor
*
* @param element <code>DOM</code> Element
* @throws DSTException
*/
}
}
if(nameSpaceURI == null) {
}
for(int i=0; i < size; i++) {
}
}
}
/**
* Gets id attribute.
*
* @return id attribute.
*/
return id;
}
/**
* Sets id attribute
*
* @param id attribute
*/
}
/**
* Gets item reference.
*
* @return item reference.
*/
return itemIDRef;
}
/**
* Sets item reference.
*
* @param ref reference item.
*/
}
/**
* Gets the returned data objects.
*
* @return List of any <code>java.lang.Object</code>.
*
*/
return dstData;
}
/**
* Gets the name space.
* @return Name space.
*/
return nameSpaceURI;
}
/**
* Sets the name space.
* @param nameSpace NameSpace URI
*/
this.nameSpaceURI = nameSpace;
}
/**
* Sets the name space prefix.
* @param prefix NameSpace prefix.
*/
}
/**
* Gets the name space prefix.
* @return String NameSpace prefix.
*/
return prefix;
}
/**
* Creates a String representation of this object.
* By default name space name is prepended to the element name
* @return String A string containing the valid XML for this element
*/
return toString(true, false);
}
/**
* Creates a String representation of this object.
* @param includeNS if true prepends all elements by their Namespace prefix
* @param declareNS if true includes the namespace within the
* generated.
* @return String A string containing the valid XML for this element
*/
if(includeNS) {
}
}
if(declareNS)
{ if(nameSpaceURI == null) {
"not defined");
return "";
}
}
}
}
if(declareNS) {
}
}
}
}