Package org.apache.muse.ws.resource.properties.set.impl

Examples of org.apache.muse.ws.resource.properties.set.impl.SimpleSetRequest


    {
        //
        // Process each top level property from root of doc
        //
        Element[] properties = XmlUtils.getAllElements(newDoc);
        SetRequest set = new SimpleSetRequest();

        for (int i = 0; i < properties.length; i++)
        {
            QName propQName = XmlUtils.getElementQName(properties[i]);
           
            if (getMetadata().isReadOnlyExternal(propQName))
            {
                Object[] filler = { propQName };
                throw new UnableToPutResourcePropertyDocumentFault(_MESSAGES.get("PutRPDocReadOnlyError", filler));
            }
           
            SetRequestComponent insertComp = new InsertRequest(propQName, properties[i]);
            set.addRequestComponent(insertComp);        
        }
       
        return set;
    }
View Full Code Here


    {
        //
        // Process each top level property from root of doc
        //
        Element[] properties = XmlUtils.getAllElements(newDoc);
        SetRequest set = new SimpleSetRequest();

        for (int i = 0; i < properties.length; i++)
        {
            QName propQName = XmlUtils.getElementQName(properties[i]);
           
            if (getMetadata().isReadOnlyExternal(propQName))
            {
                Object[] filler = { propQName };
                throw new UnableToPutResourcePropertyDocumentFault(_MESSAGES.get("PutRPDocReadOnlyError", filler));
            }
           
            SetRequestComponent insertComp = new InsertRequest(propQName, properties[i]);
            set.addRequestComponent(insertComp);        
        }
       
        return set;
    }
View Full Code Here

    {
        //
        // Process each top level property from root of doc
        //
        Element[] properties = XmlUtils.getAllElements(newDoc);
        SetRequest set = new SimpleSetRequest();

        for (int i = 0; i < properties.length; i++)
        {
            QName propQName = XmlUtils.getElementQName(properties[i]);
           
            if (getMetadata().isReadOnlyExternal(propQName))
            {
                Object[] filler = { propQName };
                throw new UnableToPutResourcePropertyDocumentFault(_MESSAGES.get("PutRPDocReadOnlyError", filler));
            }
           
            SetRequestComponent insertComp = new InsertRequest(propQName, properties[i]);
            set.addRequestComponent(insertComp);        
        }
       
        return set;
    }
View Full Code Here

TOP

Related Classes of org.apache.muse.ws.resource.properties.set.impl.SimpleSetRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.