FileDocCategorySizeDatePackage
ClaimsImpl.javaAPI DocExample3958Tue May 29 16:57:00 BST 2007com.sun.xml.ws.security.trust.impl.elements

ClaimsImpl

public class ClaimsImpl extends com.sun.xml.ws.security.trust.impl.bindings.ClaimsType implements com.sun.xml.ws.api.security.trust.Claims
Implementation class for Claims.
author
Manveen Kaur

Fields Summary
private static final Logger
log
Constructors Summary
public ClaimsImpl()

     
    
      
        // default constructor
    
public ClaimsImpl(String dialect)

        setDialect(dialect);
    
public ClaimsImpl(com.sun.xml.ws.security.trust.impl.bindings.ClaimsType clType)

        setDialect(clType.getDialect());
        getAny().addAll(clType.getAny());
        getOtherAttributes().putAll(clType.getOtherAttributes());
    
Methods Summary
public static com.sun.xml.ws.security.trust.impl.bindings.ClaimsTypefromElement(org.w3c.dom.Element element)

        try {
            final javax.xml.bind.Unmarshaller unmarshaller = WSTrustElementFactory.getContext().createUnmarshaller();
            return (ClaimsType)((JAXBElement)unmarshaller.unmarshal(element)).getValue();
        } catch (JAXBException ex) {
            log.log(Level.SEVERE,
                    LogStringsMessages.WST_0021_ERROR_UNMARSHAL_DOM_ELEMENT(), ex);
            throw new WSTrustException(LogStringsMessages.WST_0021_ERROR_UNMARSHAL_DOM_ELEMENT(), ex);
        }