public void encodeData(AsnOutputStream asnOs) throws MAPException {
        if (this.mSNetworkCapability == null)
            throw new MAPException("MSNetworkCapability cannot be null");

        ((MSNetworkCapabilityImpl) this.mSNetworkCapability).encodeAll(asnOs, Tag.CLASS_CONTEXT_SPECIFIC,
                _ID_mSNetworkCapability);

        if (this.mSRadioAccessCapability != null)
            ((MSRadioAccessCapabilityImpl) this.mSRadioAccessCapability).encodeAll(asnOs, Tag.CLASS_CONTEXT_SPECIFIC,
                    _ID_mSRadioAccessCapability);
    }
public void encodeData ( AsnOutputStream asnOs ) throws MAPException { if ( this . mSNetworkCapability == null ) throw new MAPException ( "MSNetworkCapability cannot be null" ) ; ( ( MSNetworkCapabilityImpl ) this . mSNetworkCapability ) . encodeAll ( asnOs , Tag . CLASS_CONTEXT_SPECIFIC , _ID_mSNetworkCapability ) ; if ( this . mSRadioAccessCapability != null ) ( ( MSRadioAccessCapabilityImpl ) this . mSRadioAccessCapability ) . encodeAll ( asnOs , Tag . CLASS_CONTEXT_SPECIFIC , _ID_mSRadioAccessCapability ) ; }
/*
(non-Javadoc)

@see org.restcomm.protocols.ss7.map.primitives.MAPAsnPrimitive#encodeData (org.mobicents.protocols.asn.AsnOutputStream)