src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java
/**
     * Returns <code>true</code> if this chat transport supports sms
     * messaging, otherwise returns <code>false</code>.
     *
     * @return <code>true</code> if this chat transport supports sms
     * messaging, otherwise returns <code>false</code>.
     */
Returns true if this chat transport supports sms
messaging, otherwise returns false.

@return true if this chat transport supports sms
messaging, otherwise returns false.
Returns true if this chat transport supports sms messaging otherwise returns false . @return true if this chat transport supports sms messaging otherwise returns false .
public boolean allowsSmsMessage()
    {
        OperationSetContactCapabilities capOpSet = getProtocolProvider()
            .getOperationSet(OperationSetContactCapabilities.class);
        if (capOpSet != null)
        {
            if (capOpSet.getOperationSet(
                contact, OperationSetSmsMessaging.class) != null)
            {
                return true;
            }
        }
        else if (contact.getProtocolProvider()
            .getOperationSet(OperationSetSmsMessaging.class) != null)
            return true;
        return false;
    }
public boolean allowsSmsMessage ( ) { OperationSetContactCapabilities capOpSet = getProtocolProvider ( ) . getOperationSet ( OperationSetContactCapabilities . class ) ; if ( capOpSet != null ) { if ( capOpSet . getOperationSet ( contact , OperationSetSmsMessaging . class ) != null ) { return true ; } } else if ( contact . getProtocolProvider ( ) . getOperationSet ( OperationSetSmsMessaging . class ) != null ) return true ; return false ; }
Returns <code>true</code> if this chat transport supports sms
 messaging, otherwise returns <code>false</code>.
Returns <code > true< / code > if this chat transport supports sms messaging otherwise returns <code > false< / code > .
// First try to ask the capabilities operation set if such is // available.