org.ogf.graap.wsag.wsrf
Class WSAG4JCapability

java.lang.Object
  extended by org.apache.muse.core.AbstractCapability
      extended by org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
          extended by org.ogf.graap.wsag.wsrf.WSAG4JCapability
All Implemented Interfaces:
org.apache.muse.core.Capability, org.apache.muse.core.Initialization, org.apache.muse.core.InitializationParameters, org.apache.muse.core.Shutdown, org.apache.muse.ws.resource.WsResourceCapability
Direct Known Subclasses:
AgreementAcceptanceCapability, AgreementCapability, AgreementFactoryCapability, NegotiationCapability, NegotiationFactoryCapability

public abstract class WSAG4JCapability
extends org.apache.muse.ws.resource.impl.AbstractWsResourceCapability

WSAG4JCapability Abstract capability that provides some convenience methods.

Author:
Oliver Waeldrich

Constructor Summary
WSAG4JCapability()
           
 
Method Summary
static Element toElement(org.apache.xmlbeans.XmlObject xmlObject)
          Converts a XMLBean to a DOM element.
static Element[] toElementArray(org.apache.xmlbeans.XmlObject[] xmlObjects)
          Converts an array of XMLBeans to an array of DOM elements.
 
Methods inherited from class org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
createGettersAndSetters, deleteProperty, getGetter, getProperty, getPropertyElements, getPropertyNames, getSetter, getWsResource, initialize, insertProperty, invokeMethod, setResource, updateProperty
 
Methods inherited from class org.apache.muse.core.AbstractCapability
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setInitializationParameters, setLog, setMessageHandler, setMessageHandlers, setPersistence, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.muse.core.Capability
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence
 
Methods inherited from interface org.apache.muse.core.Initialization
hasBeenInitialized
 
Methods inherited from interface org.apache.muse.core.InitializationParameters
getInitializationParameter, getInitializationParameters, setInitializationParameters
 
Methods inherited from interface org.apache.muse.core.Shutdown
hasBeenShutdown, shutdown
 

Constructor Detail

WSAG4JCapability

public WSAG4JCapability()
Method Detail

toElement

public static Element toElement(org.apache.xmlbeans.XmlObject xmlObject)
                         throws WSAgreementException
Converts a XMLBean to a DOM element.

Parameters:
xmlObject - the object to convert
Returns:
the converted XMLBean
Throws:
WSAgreementException - indicates a conversion error

toElementArray

public static Element[] toElementArray(org.apache.xmlbeans.XmlObject[] xmlObjects)
                                throws WSAgreementException
Converts an array of XMLBeans to an array of DOM elements.

Parameters:
xmlObjects - the objects to convert
Returns:
the element array
Throws:
WSAgreementException - indicates a conversion error


Copyright © 2008-2012. All Rights Reserved.